<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Crypto++: Weak::MARC4 Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Crypto++  <span id="projectnumber">7.0</span> </div> <div id="projectbrief">Free C++ class library of cryptographic schemes</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespace_weak.html">Weak</a></li><li class="navelem"><a class="el" href="class_weak_1_1_m_a_r_c4.html">MARC4</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="class_weak_1_1_m_a_r_c4-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Weak::MARC4 Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Modified Alleged RC4. <a href="class_weak_1_1_m_a_r_c4.html#details">More...</a></p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Weak::MARC4:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"> <img src="class_weak_1_1_m_a_r_c4.png" usemap="#Weak::MARC4_map" alt=""/> <map id="Weak::MARC4_map" name="Weak::MARC4_map"> <area href="class_symmetric_cipher_final.html" alt="SymmetricCipherFinal< MARC4_Base >" shape="rect" coords="0,168,538,192"/> <area href="class_algorithm_impl.html" alt="AlgorithmImpl< SimpleKeyingInterfaceImpl< MARC4_Base, MARC4_Base >, MARC4_Base >" shape="rect" coords="0,112,538,136"/> <area href="class_simple_keying_interface_impl.html" alt="SimpleKeyingInterfaceImpl< MARC4_Base, MARC4_Base >" shape="rect" coords="0,56,538,80"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_methods_class_symmetric_cipher_final"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_symmetric_cipher_final')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_symmetric_cipher_final.html">SymmetricCipherFinal< MARC4_Base ></a></td></tr> <tr class="memitem:a2d1682edd7a8ec665a2f45f3109b7660 inherit pub_methods_class_symmetric_cipher_final"><td class="memItemLeft" align="right" valign="top"><a id="a2d1682edd7a8ec665a2f45f3109b7660"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_symmetric_cipher_final.html#a2d1682edd7a8ec665a2f45f3109b7660">SymmetricCipherFinal</a> ()</td></tr> <tr class="memdesc:a2d1682edd7a8ec665a2f45f3109b7660 inherit pub_methods_class_symmetric_cipher_final"><td class="mdescLeft"> </td><td class="mdescRight">Construct a stream cipher. <br /></td></tr> <tr class="separator:a2d1682edd7a8ec665a2f45f3109b7660 inherit pub_methods_class_symmetric_cipher_final"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9d94e7e8c1b2804c13d62ae227d60bb5 inherit pub_methods_class_symmetric_cipher_final"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_symmetric_cipher_final.html#a9d94e7e8c1b2804c13d62ae227d60bb5">SymmetricCipherFinal</a> (const byte *key)</td></tr> <tr class="memdesc:a9d94e7e8c1b2804c13d62ae227d60bb5 inherit pub_methods_class_symmetric_cipher_final"><td class="mdescLeft"> </td><td class="mdescRight">Construct a stream cipher. <a href="class_symmetric_cipher_final.html#a9d94e7e8c1b2804c13d62ae227d60bb5">More...</a><br /></td></tr> <tr class="separator:a9d94e7e8c1b2804c13d62ae227d60bb5 inherit pub_methods_class_symmetric_cipher_final"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8b33ceb6b2889f1ba3a81570b77b0529 inherit pub_methods_class_symmetric_cipher_final"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_symmetric_cipher_final.html#a8b33ceb6b2889f1ba3a81570b77b0529">SymmetricCipherFinal</a> (const byte *key, size_t length)</td></tr> <tr class="memdesc:a8b33ceb6b2889f1ba3a81570b77b0529 inherit pub_methods_class_symmetric_cipher_final"><td class="mdescLeft"> </td><td class="mdescRight">Construct a stream cipher. <a href="class_symmetric_cipher_final.html#a8b33ceb6b2889f1ba3a81570b77b0529">More...</a><br /></td></tr> <tr class="separator:a8b33ceb6b2889f1ba3a81570b77b0529 inherit pub_methods_class_symmetric_cipher_final"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a48ea66f5aed98d2b2b4959a28f8179cd inherit pub_methods_class_symmetric_cipher_final"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_symmetric_cipher_final.html#a48ea66f5aed98d2b2b4959a28f8179cd">SymmetricCipherFinal</a> (const byte *key, size_t length, const byte *iv)</td></tr> <tr class="memdesc:a48ea66f5aed98d2b2b4959a28f8179cd inherit pub_methods_class_symmetric_cipher_final"><td class="mdescLeft"> </td><td class="mdescRight">Construct a stream cipher. <a href="class_symmetric_cipher_final.html#a48ea66f5aed98d2b2b4959a28f8179cd">More...</a><br /></td></tr> <tr class="separator:a48ea66f5aed98d2b2b4959a28f8179cd inherit pub_methods_class_symmetric_cipher_final"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a75544ff20b50a7eb76080a043c97e941 inherit pub_methods_class_symmetric_cipher_final"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_clonable.html">Clonable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_symmetric_cipher_final.html#a75544ff20b50a7eb76080a043c97e941">Clone</a> () const</td></tr> <tr class="memdesc:a75544ff20b50a7eb76080a043c97e941 inherit pub_methods_class_symmetric_cipher_final"><td class="mdescLeft"> </td><td class="mdescRight">Clone a <a class="el" href="class_symmetric_cipher.html" title="Interface for one direction (encryption or decryption) of a stream cipher or cipher mode...">SymmetricCipher</a>. <a href="class_symmetric_cipher_final.html#a75544ff20b50a7eb76080a043c97e941">More...</a><br /></td></tr> <tr class="separator:a75544ff20b50a7eb76080a043c97e941 inherit pub_methods_class_symmetric_cipher_final"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_algorithm_impl"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_algorithm_impl')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_algorithm_impl.html">AlgorithmImpl< SimpleKeyingInterfaceImpl< MARC4_Base, MARC4_Base >, MARC4_Base ></a></td></tr> <tr class="memitem:abd1b02bf6cda820fa6cc56ea5a9eac20 inherit pub_methods_class_algorithm_impl"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_algorithm_impl.html#abd1b02bf6cda820fa6cc56ea5a9eac20">AlgorithmName</a> () const</td></tr> <tr class="memdesc:abd1b02bf6cda820fa6cc56ea5a9eac20 inherit pub_methods_class_algorithm_impl"><td class="mdescLeft"> </td><td class="mdescRight">The algorithm name. <a href="class_algorithm_impl.html#abd1b02bf6cda820fa6cc56ea5a9eac20">More...</a><br /></td></tr> <tr class="separator:abd1b02bf6cda820fa6cc56ea5a9eac20 inherit pub_methods_class_algorithm_impl"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_simple_keying_interface_impl"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_simple_keying_interface_impl')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_simple_keying_interface_impl.html">SimpleKeyingInterfaceImpl< MARC4_Base, MARC4_Base ></a></td></tr> <tr class="memitem:af3e42c83041a26ffaef5e378e352caa0 inherit pub_methods_class_simple_keying_interface_impl"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_simple_keying_interface_impl.html#af3e42c83041a26ffaef5e378e352caa0">MinKeyLength</a> () const</td></tr> <tr class="memdesc:af3e42c83041a26ffaef5e378e352caa0 inherit pub_methods_class_simple_keying_interface_impl"><td class="mdescLeft"> </td><td class="mdescRight">The minimum key length used by the algorithm. <a href="class_simple_keying_interface_impl.html#af3e42c83041a26ffaef5e378e352caa0">More...</a><br /></td></tr> <tr class="separator:af3e42c83041a26ffaef5e378e352caa0 inherit pub_methods_class_simple_keying_interface_impl"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac72a5a82d8a5d9e19e18f7e146b35df4 inherit pub_methods_class_simple_keying_interface_impl"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_simple_keying_interface_impl.html#ac72a5a82d8a5d9e19e18f7e146b35df4">MaxKeyLength</a> () const</td></tr> <tr class="memdesc:ac72a5a82d8a5d9e19e18f7e146b35df4 inherit pub_methods_class_simple_keying_interface_impl"><td class="mdescLeft"> </td><td class="mdescRight">The maximum key length used by the algorithm. <a href="class_simple_keying_interface_impl.html#ac72a5a82d8a5d9e19e18f7e146b35df4">More...</a><br /></td></tr> <tr class="separator:ac72a5a82d8a5d9e19e18f7e146b35df4 inherit pub_methods_class_simple_keying_interface_impl"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a017e0545328286b51892a93f95aabf8e inherit pub_methods_class_simple_keying_interface_impl"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_simple_keying_interface_impl.html#a017e0545328286b51892a93f95aabf8e">DefaultKeyLength</a> () const</td></tr> <tr class="memdesc:a017e0545328286b51892a93f95aabf8e inherit pub_methods_class_simple_keying_interface_impl"><td class="mdescLeft"> </td><td class="mdescRight">The default key length used by the algorithm. <a href="class_simple_keying_interface_impl.html#a017e0545328286b51892a93f95aabf8e">More...</a><br /></td></tr> <tr class="separator:a017e0545328286b51892a93f95aabf8e inherit pub_methods_class_simple_keying_interface_impl"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5d2b23e29eb994631cf9e06f7ab36023 inherit pub_methods_class_simple_keying_interface_impl"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_simple_keying_interface_impl.html#a5d2b23e29eb994631cf9e06f7ab36023">GetValidKeyLength</a> (size_t keylength) const</td></tr> <tr class="memdesc:a5d2b23e29eb994631cf9e06f7ab36023 inherit pub_methods_class_simple_keying_interface_impl"><td class="mdescLeft"> </td><td class="mdescRight">Provides a valid key length for the algorithm. <a href="class_simple_keying_interface_impl.html#a5d2b23e29eb994631cf9e06f7ab36023">More...</a><br /></td></tr> <tr class="separator:a5d2b23e29eb994631cf9e06f7ab36023 inherit pub_methods_class_simple_keying_interface_impl"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af9e6ac5f39488b6a3f8220c539c6cfeb inherit pub_methods_class_simple_keying_interface_impl"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_simple_keying_interface.html#a88201c180fbfaa9fef2715252546ad6e">SimpleKeyingInterface::IV_Requirement</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_simple_keying_interface_impl.html#af9e6ac5f39488b6a3f8220c539c6cfeb">IVRequirement</a> () const</td></tr> <tr class="memdesc:af9e6ac5f39488b6a3f8220c539c6cfeb inherit pub_methods_class_simple_keying_interface_impl"><td class="mdescLeft"> </td><td class="mdescRight">The default IV requirements for the algorithm. <a href="class_simple_keying_interface_impl.html#af9e6ac5f39488b6a3f8220c539c6cfeb">More...</a><br /></td></tr> <tr class="separator:af9e6ac5f39488b6a3f8220c539c6cfeb inherit pub_methods_class_simple_keying_interface_impl"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acba54a012806e2b2d0f61c1aa64a3a25 inherit pub_methods_class_simple_keying_interface_impl"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_simple_keying_interface_impl.html#acba54a012806e2b2d0f61c1aa64a3a25">IVSize</a> () const</td></tr> <tr class="memdesc:acba54a012806e2b2d0f61c1aa64a3a25 inherit pub_methods_class_simple_keying_interface_impl"><td class="mdescLeft"> </td><td class="mdescRight">The default initialization vector length for the algorithm. <a href="class_simple_keying_interface_impl.html#acba54a012806e2b2d0f61c1aa64a3a25">More...</a><br /></td></tr> <tr class="separator:acba54a012806e2b2d0f61c1aa64a3a25 inherit pub_methods_class_simple_keying_interface_impl"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_class_algorithm_impl"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_algorithm_impl')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="class_algorithm_impl.html">AlgorithmImpl< SimpleKeyingInterfaceImpl< MARC4_Base, MARC4_Base >, MARC4_Base ></a></td></tr> <tr class="memitem:a4b388176a0c4853b2a3e747c5e637b95 inherit pub_static_methods_class_algorithm_impl"><td class="memItemLeft" align="right" valign="top">static std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_algorithm_impl.html#a4b388176a0c4853b2a3e747c5e637b95">StaticAlgorithmName</a> ()</td></tr> <tr class="memdesc:a4b388176a0c4853b2a3e747c5e637b95 inherit pub_static_methods_class_algorithm_impl"><td class="mdescLeft"> </td><td class="mdescRight">The algorithm name. <a href="class_algorithm_impl.html#a4b388176a0c4853b2a3e747c5e637b95">More...</a><br /></td></tr> <tr class="separator:a4b388176a0c4853b2a3e747c5e637b95 inherit pub_static_methods_class_algorithm_impl"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Modified Alleged RC4. </p> <dl class="section see"><dt>See also</dt><dd><a href="http://www.cryptopp.com/wiki/RC4">Alleged RC4</a> </dd></dl> <dl class="section since"><dt>Since</dt><dd>Crypto++ 3.1 </dd></dl> <p class="definition">Definition at line <a class="el" href="arc4_8h_source.html#l00073">73</a> of file <a class="el" href="arc4_8h_source.html">arc4.h</a>.</p> </div><hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="arc4_8h_source.html">arc4.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Sep 16 2018 07:59:08 for Crypto++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>