<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crypto++: RC2 class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>RC2 Class Reference</h1><code>#include <<a class="el" href="rc2_8h-source.html">rc2.h</a>></code> <p> <p>Inheritance diagram for RC2: <p><center><img src="class_r_c2.png" usemap="#RC2_map" border="0" alt=""></center> <map name="RC2_map"> <area href="struct_r_c2___info.html" alt="RC2_Info" shape="rect" coords="107,56,311,80"> <area href="struct_block_cipher_documentation.html" alt="BlockCipherDocumentation" shape="rect" coords="321,56,525,80"> <area href="class_fixed_block_size.html" alt="FixedBlockSize< 8 >" shape="rect" coords="0,0,204,24"> <area href="class_variable_key_length.html" alt="VariableKeyLength< 16, 1, 128 >" shape="rect" coords="214,0,418,24"> </map> <a href="class_r_c2-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <a href="http://www.weidai.com/scan-mirror/cs.html#RC2">RC2</a> <p> <p> Definition at line <a class="el" href="rc2_8h-source.html#l00020">20</a> of file <a class="el" href="rc2_8h-source.html">rc2.h</a>.<table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom>{ <b>DEFAULT_EFFECTIVE_KEYLENGTH</b> = 1024, <b>MAX_EFFECTIVE_KEYLENGTH</b> = 1024 }</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_r_c2w9" doxytag="RC2::Encryption" ></a> typedef <a class="el" href="class_block_cipher.html">BlockCipher</a> </td><td class="memItemRight" valign=bottom><a class="el" href="struct_block_cipher_documentation.html#_r_c2w9">Encryption</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">implements the <a class="el" href="class_block_cipher.html">BlockCipher</a> interface <br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_r_c2w10" doxytag="RC2::Decryption" ></a> typedef <a class="el" href="class_block_cipher.html">BlockCipher</a> </td><td class="memItemRight" valign=bottom><a class="el" href="struct_block_cipher_documentation.html#_r_c2w10">Decryption</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">implements the <a class="el" href="class_block_cipher.html">BlockCipher</a> interface <br><br></td></tr> <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_r_c2___infoe0" doxytag="RC2::StaticAlgorithmName" ></a> const char * </td><td class="memItemRight" valign=bottom><b>StaticAlgorithmName</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_variable_key_lengthe0" doxytag="RC2::StaticGetValidKeyLength" ></a> unsigned int </td><td class="memItemRight" valign=bottom><b>StaticGetValidKeyLength</b> (unsigned int n)</td></tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="rc2_8h-source.html">rc2.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Sun Nov 7 08:24:08 2004 for Crypto++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address> </body> </html>