mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-07-09 21:47:00 +08:00
Documentation for 5b78538570
This commit is contained in:
@@ -112,7 +112,7 @@ Include dependency graph for caesar_cipher.cpp:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:d6/d4e/namespaceciphers"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d4e/namespaceciphers.html">ciphers</a></td></tr>
|
||||
<tr class="memdesc:d6/d4e/namespaceciphers"><td class="mdescLeft"> </td><td class="mdescRight">for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <br /></td></tr>
|
||||
<tr class="memdesc:d6/d4e/namespaceciphers"><td class="mdescLeft"> </td><td class="mdescRight">Algorithms for encryption and decryption. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:dd/d81/namespacecaesar"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d81/namespacecaesar.html">caesar</a></td></tr>
|
||||
<tr class="memdesc:dd/d81/namespacecaesar"><td class="mdescLeft"> </td><td class="mdescRight">Functions for <a href="https://en.wikipedia.org/wiki/Caesar_cipher" target="_blank">Caesar cipher</a> algorithm. <br /></td></tr>
|
||||
@@ -190,13 +190,7 @@ Algorithm</h3>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">return</span> decrypted_text; <span class="comment">// Returning decrypted text</span></div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> }</div>
|
||||
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/d2c/caesar__cipher_8cpp_a355e69511cd2006b5c4c80ae95b71056_cgraph.svg" width="175" height="62"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="ac3381121289548640b1c27a58a8524c3" name="ac3381121289548640b1c27a58a8524c3"></a>
|
||||
@@ -242,13 +236,7 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> }</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordflow">return</span> encrypted_text; <span class="comment">// Returning encrypted text</span></div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> }</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/d2c/caesar__cipher_8cpp_ac3381121289548640b1c27a58a8524c3_cgraph.svg" width="175" height="62"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<map id="ciphers::caesar::decrypt" name="ciphers::caesar::decrypt">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="5,29,169,56"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
b562b5b5abea44ee853d879c43e98c95
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: ciphers::caesar::decrypt Pages: 1 -->
|
||||
<svg width="131pt" height="46pt"
|
||||
viewBox="0.00 0.00 131.00 46.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 42)">
|
||||
<title>ciphers::caesar::decrypt</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-42 127,-42 127,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title=" ">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 123,-19.5 123,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="61.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers::caesar::decrypt</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M42.7,-19.76C33.55,-28.57 39.82,-38 61.5,-38 75.39,-38 82.96,-34.13 84.19,-29.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="87.4,-27.62 80.3,-19.76 80.94,-30.33 87.4,-27.62"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -1,3 +0,0 @@
|
||||
<map id="ciphers::caesar::encrypt" name="ciphers::caesar::encrypt">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="5,29,169,56"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
d9b8f42626ff5d730ac77b2103bcfc35
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: ciphers::caesar::encrypt Pages: 1 -->
|
||||
<svg width="131pt" height="46pt"
|
||||
viewBox="0.00 0.00 131.00 46.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 42)">
|
||||
<title>ciphers::caesar::encrypt</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-42 127,-42 127,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title=" ">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 123,-19.5 123,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="61.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers::caesar::encrypt</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M42.7,-19.76C33.55,-28.57 39.82,-38 61.5,-38 75.39,-38 82.96,-34.13 84.19,-29.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="87.4,-27.62 80.3,-19.76 80.94,-30.33 87.4,-27.62"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('d6/d4e/namespaceciphers.html','../../'
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>
|
||||
<p>Algorithms for encryption and decryption.
|
||||
<a href="../../d6/d4e/namespaceciphers.html#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
|
||||
@@ -119,10 +119,11 @@ Variables</h2></td></tr>
|
||||
<tr class="separator:ab9aec0ccf4b6809f652bb540be87c216"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> </p>
|
||||
<div class="textblock"><p >Algorithms for encryption and decryption. </p>
|
||||
<p >for IO operations</p>
|
||||
<p >Algorithms for encryption and decryption.</p>
|
||||
<p ><a href="https://en.wikipedia.org/wiki/Base64" target="_blank">Base64 Encoding and Decoding</a></p>
|
||||
<p >for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></p>
|
||||
<p >for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/transform.html">std::transform</a> and <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/replace.html">std::replace</a> for assert for uint8_t for IO operations for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a> for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_stringstream.html">std::stringstream</a> for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></p>
|
||||
<p >for assert for IO operations for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a></p>
|
||||
<p >Algorithms for encryption and decryption</p>
|
||||
<p >In programming, <a href="https://en.wikipedia.org/wiki/Base64" target="_blank">Base64</a> is a group of binary-to-text encoding schemes that represent binary data (more specifically, a sequence of 8-bit bytes) in an ASCII string format by translating the data into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding. Each non-final Base64 digit represents exactly 6 bits of data. Three 8-bit bytes (i.e., a total of 24 bits) can therefore be represented by four 6-bit Base64 digits. </p><dl class="section author"><dt>Author</dt><dd><a href="https://github.com/AshishYUO" target="_blank">Ashish Daulatabad</a> for <code><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a></code> for <code>assert</code> operations for IO operations</dd></dl>
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
var namespaceciphers =
|
||||
[
|
||||
[ "a1z26", null, [
|
||||
[ "decrypt", "de/db6/a1z26__cipher_8cpp.html#a0a78954e96c862430904ee3e64623c38", null ],
|
||||
[ "encrypt", "de/db6/a1z26__cipher_8cpp.html#a77a6b827a0b9c7aca2d705811459d744", null ]
|
||||
] ],
|
||||
[ "atbash", null, [
|
||||
[ "atbash_cipher", "dc/dfb/atbash__cipher_8cpp.html#ae633d82f248dffe0d2f6bdf82e56b7b5", null ]
|
||||
] ],
|
||||
|
||||
Reference in New Issue
Block a user