<!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"/> <title>Crypto++: Blowfish Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Crypto++</div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#pub-types">Public Types</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pub-static-attribs">Static Public Attributes</a> </div> <div class="headertitle"> <div class="title">Blowfish Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="Blowfish" --><!-- doxytag: inherits="Blowfish_Info,BlockCipherDocumentation" --> <p><a href="http://www.weidai.com/scan-mirror/cs.html#Blowfish">Blowfish</a> <a href="class_blowfish.html#details">More...</a></p> <p><code>#include <<a class="el" href="blowfish_8h_source.html">blowfish.h</a>></code></p> <div class="dynheader"> Inheritance diagram for Blowfish:</div> <div class="dyncontent"> <div class="center"> <img src="class_blowfish.png" usemap="#Blowfish_map" alt=""/> <map id="Blowfish_map" name="Blowfish_map"> <area href="struct_blowfish___info.html" title="_" alt="Blowfish_Info" shape="rect" coords="207,56,404,80"/> <area href="struct_block_cipher_documentation.html" title="These objects usually should not be used directly. See CipherModeDocumentation instead." alt="BlockCipherDocumentation" shape="rect" coords="414,56,611,80"/> <area href="class_fixed_block_size.html" alt="FixedBlockSize< 8 >" shape="rect" coords="0,0,197,24"/> <area href="class_variable_key_length.html" alt="VariableKeyLength< 16, 1, 56 >" shape="rect" coords="207,0,404,24"/> <area href="class_fixed_rounds.html" alt="FixedRounds< 16 >" shape="rect" coords="414,0,611,24"/> </map> </div></div> <p><a href="class_blowfish-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><b>Base</b></td></tr> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0be3672f335ece25211763751da484d5"></a><!-- doxytag: member="Blowfish::Encryption" ref="a0be3672f335ece25211763751da484d5" args="" --> typedef <a class="el" href="class_block_cipher_final.html">BlockCipherFinal</a><br class="typebreak"/> < ENCRYPTION, Base > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_blowfish.html#a0be3672f335ece25211763751da484d5">Encryption</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">implements the <a class="el" href="class_block_cipher.html" title="interface for one direction (encryption or decryption) of a block cipher">BlockCipher</a> interface <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1ffd7ac4dd3927a06f92a92877e43b1"></a><!-- doxytag: member="Blowfish::Decryption" ref="ab1ffd7ac4dd3927a06f92a92877e43b1" args="" --> typedef <a class="el" href="class_block_cipher_final.html">BlockCipherFinal</a><br class="typebreak"/> < DECRYPTION, Base > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_blowfish.html#ab1ffd7ac4dd3927a06f92a92877e43b1">Decryption</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">implements the <a class="el" href="class_block_cipher.html" title="interface for one direction (encryption or decryption) of a block cipher">BlockCipher</a> interface <br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa83d39bbf3797cdfcc05c4c0ef12e3c9"></a><!-- doxytag: member="Blowfish::StaticAlgorithmName" ref="aa83d39bbf3797cdfcc05c4c0ef12e3c9" args="()" --> static const char * </td><td class="memItemRight" valign="bottom"><b>StaticAlgorithmName</b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a818cab6c32e632509fbf249f959543"></a><!-- doxytag: member="Blowfish::StaticGetValidKeyLength" ref="a5a818cab6c32e632509fbf249f959543" args="(size_t n)" --> static size_t </td><td class="memItemRight" valign="bottom"><b>StaticGetValidKeyLength</b> (size_t n)</td></tr> <tr><td colspan="2"><h2><a name="pub-static-attribs"></a> Static Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b051f369471fbb83d9b61a90b06e99f"></a><!-- doxytag: member="Blowfish::BLOCKSIZE" ref="a2b051f369471fbb83d9b61a90b06e99f" args="" --> static const int </td><td class="memItemRight" valign="bottom"><b>BLOCKSIZE</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff5e41e92f02a8bb6a976b748e4e2ec9"></a><!-- doxytag: member="Blowfish::MIN_KEYLENGTH" ref="aff5e41e92f02a8bb6a976b748e4e2ec9" args="" --> static const int </td><td class="memItemRight" valign="bottom"><b>MIN_KEYLENGTH</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a26f33392d61edcaa678ae65002842d36"></a><!-- doxytag: member="Blowfish::MAX_KEYLENGTH" ref="a26f33392d61edcaa678ae65002842d36" args="" --> static const int </td><td class="memItemRight" valign="bottom"><b>MAX_KEYLENGTH</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3788ee30b190bdc0c0e89d2721162614"></a><!-- doxytag: member="Blowfish::DEFAULT_KEYLENGTH" ref="a3788ee30b190bdc0c0e89d2721162614" args="" --> static const int </td><td class="memItemRight" valign="bottom"><b>DEFAULT_KEYLENGTH</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acaa6d8918bbd17c2da84e752df7bd285"></a><!-- doxytag: member="Blowfish::KEYLENGTH_MULTIPLE" ref="acaa6d8918bbd17c2da84e752df7bd285" args="" --> static const int </td><td class="memItemRight" valign="bottom"><b>KEYLENGTH_MULTIPLE</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aefee62ae9b6dd90ede7211844235fc7b"></a><!-- doxytag: member="Blowfish::IV_REQUIREMENT" ref="aefee62ae9b6dd90ede7211844235fc7b" args="" --> static const int </td><td class="memItemRight" valign="bottom"><b>IV_REQUIREMENT</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae5687e4a40c5289764feac86eed81cc2"></a><!-- doxytag: member="Blowfish::IV_LENGTH" ref="ae5687e4a40c5289764feac86eed81cc2" args="" --> static const int </td><td class="memItemRight" valign="bottom"><b>IV_LENGTH</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a910701ff30c578368793f5faae246108"></a><!-- doxytag: member="Blowfish::ROUNDS" ref="a910701ff30c578368793f5faae246108" args="" --> static const int </td><td class="memItemRight" valign="bottom"><b>ROUNDS</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p><a href="http://www.weidai.com/scan-mirror/cs.html#Blowfish">Blowfish</a> </p> <p>Definition at line <a class="el" href="blowfish_8h_source.html#l00018">18</a> of file <a class="el" href="blowfish_8h_source.html">blowfish.h</a>.</p> </div><hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="blowfish_8h_source.html">blowfish.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Sun Oct 16 2011 for Crypto++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>