<!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++: MDC< H > Class Template 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><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#pub-types">Public Types</a> | <a href="class_m_d_c-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">MDC< H > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="class_m_d_c.html" title="MDC cipher. ">MDC</a> cipher. <a href="class_m_d_c.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 MDC< H >:</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_m_d_c.png" usemap="#MDC_3C_20H_20_3E_map" alt=""/> <map id="MDC_3C_20H_20_3E_map" name="MDC_3C_20H_20_3E_map"> <area href="struct_m_d_c___info.html" alt="MDC_Info< H >" shape="rect" coords="113,56,330,80"/> <area href="class_fixed_block_size.html" alt="FixedBlockSize< H ::DIGESTSIZE >" shape="rect" coords="0,0,217,24"/> <area href="class_fixed_key_length.html" alt="FixedKeyLength< H ::BLOCKSIZE >" shape="rect" coords="227,0,444,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:ace891d319da8a2ca2a52b937505cab27"><td class="memItemLeft" align="right" valign="top"><a id="ace891d319da8a2ca2a52b937505cab27"></a> typedef <a class="el" href="class_block_cipher_final.html">BlockCipherFinal</a>< <a class="el" href="cryptlib_8h.html#a353ccabf5ddc119a6a33e92f7b9961c7a244e5e74f856cdd5aafc1005877a2f61">ENCRYPTION</a>, Enc > </td><td class="memItemRight" valign="bottom"><b>Encryption</b></td></tr> <tr class="separator:ace891d319da8a2ca2a52b937505cab27"><td class="memSeparator" colspan="2"> </td></tr> </table><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_static_methods_struct_m_d_c___info"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_struct_m_d_c___info')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="struct_m_d_c___info.html">MDC_Info< H ></a></td></tr> <tr class="memitem:a635994d21a2652b64951d78fac7928a4 inherit pub_static_methods_struct_m_d_c___info"><td class="memItemLeft" align="right" valign="top"><a id="a635994d21a2652b64951d78fac7928a4"></a> static std::string </td><td class="memItemRight" valign="bottom"><b>StaticAlgorithmName</b> ()</td></tr> <tr class="separator:a635994d21a2652b64951d78fac7928a4 inherit pub_static_methods_struct_m_d_c___info"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_class_fixed_block_size"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_fixed_block_size')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="class_fixed_block_size.html">FixedBlockSize< H ::DIGESTSIZE ></a></td></tr> <tr class="memitem:a9fe9d94c625a23bba2008f11d8543911 inherit pub_static_methods_class_fixed_block_size"><td class="memItemLeft" align="right" valign="top">static size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_block_size.html#a9fe9d94c625a23bba2008f11d8543911">StaticGetValidBlockSize</a> (size_t blocksize)</td></tr> <tr class="memdesc:a9fe9d94c625a23bba2008f11d8543911 inherit pub_static_methods_class_fixed_block_size"><td class="mdescLeft"> </td><td class="mdescRight">The default block size for the algorithm provided by a static function. <a href="class_fixed_block_size.html#a9fe9d94c625a23bba2008f11d8543911">More...</a><br /></td></tr> <tr class="separator:a9fe9d94c625a23bba2008f11d8543911 inherit pub_static_methods_class_fixed_block_size"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a20cb7b8dc4ef324fe983a8e5f6c63355 inherit pub_static_methods_class_fixed_block_size"><td class="memItemLeft" align="right" valign="top">static size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_block_size.html#a20cb7b8dc4ef324fe983a8e5f6c63355">StaticGetValidBlockSize</a> (size_t keylength, size_t blocksize)</td></tr> <tr class="memdesc:a20cb7b8dc4ef324fe983a8e5f6c63355 inherit pub_static_methods_class_fixed_block_size"><td class="mdescLeft"> </td><td class="mdescRight">The default block size under a key provided by a static function. <a href="class_fixed_block_size.html#a20cb7b8dc4ef324fe983a8e5f6c63355">More...</a><br /></td></tr> <tr class="separator:a20cb7b8dc4ef324fe983a8e5f6c63355 inherit pub_static_methods_class_fixed_block_size"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_class_fixed_key_length"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_fixed_key_length')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="class_fixed_key_length.html">FixedKeyLength< H ::BLOCKSIZE ></a></td></tr> <tr class="memitem:a33b626ceb451a6897ef71e4aa73efce5 inherit pub_static_methods_class_fixed_key_length"><td class="memItemLeft" align="right" valign="top">static size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_key_length.html#a33b626ceb451a6897ef71e4aa73efce5">StaticGetValidKeyLength</a> (size_t keylength)</td></tr> <tr class="memdesc:a33b626ceb451a6897ef71e4aa73efce5 inherit pub_static_methods_class_fixed_key_length"><td class="mdescLeft"> </td><td class="mdescRight">The default key length for the algorithm provided by a static function. <a href="class_fixed_key_length.html#a33b626ceb451a6897ef71e4aa73efce5">More...</a><br /></td></tr> <tr class="separator:a33b626ceb451a6897ef71e4aa73efce5 inherit pub_static_methods_class_fixed_key_length"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_attribs_class_fixed_block_size"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_fixed_block_size')"><img src="closed.png" alt="-"/> Static Public Attributes inherited from <a class="el" href="class_fixed_block_size.html">FixedBlockSize< H ::DIGESTSIZE ></a></td></tr> <tr class="memitem:a2b051f369471fbb83d9b61a90b06e99f inherit pub_static_attribs_class_fixed_block_size"><td class="memItemLeft" align="right" valign="top"><a id="a2b051f369471fbb83d9b61a90b06e99f"></a> static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_block_size.html#a2b051f369471fbb83d9b61a90b06e99f">BLOCKSIZE</a></td></tr> <tr class="memdesc:a2b051f369471fbb83d9b61a90b06e99f inherit pub_static_attribs_class_fixed_block_size"><td class="mdescLeft"> </td><td class="mdescRight">The block size of the algorithm provided as a constant. <br /></td></tr> <tr class="separator:a2b051f369471fbb83d9b61a90b06e99f inherit pub_static_attribs_class_fixed_block_size"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac2361c243e13bd2ae6b4e03aa980a332 inherit pub_static_attribs_class_fixed_block_size"><td class="memItemLeft" align="right" valign="top"><a id="ac2361c243e13bd2ae6b4e03aa980a332"></a> static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_block_size.html#ac2361c243e13bd2ae6b4e03aa980a332">DEFAULT_BLOCKSIZE</a></td></tr> <tr class="memdesc:ac2361c243e13bd2ae6b4e03aa980a332 inherit pub_static_attribs_class_fixed_block_size"><td class="mdescLeft"> </td><td class="mdescRight">The default blocksize for the algorithm provided as a constant. <br /></td></tr> <tr class="separator:ac2361c243e13bd2ae6b4e03aa980a332 inherit pub_static_attribs_class_fixed_block_size"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad4b361c3a370291ea397c700fe4f1ce3 inherit pub_static_attribs_class_fixed_block_size"><td class="memItemLeft" align="right" valign="top"><a id="ad4b361c3a370291ea397c700fe4f1ce3"></a> static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_block_size.html#ad4b361c3a370291ea397c700fe4f1ce3">MIN_BLOCKSIZE</a></td></tr> <tr class="memdesc:ad4b361c3a370291ea397c700fe4f1ce3 inherit pub_static_attribs_class_fixed_block_size"><td class="mdescLeft"> </td><td class="mdescRight">The minimum blocksize for the algorithm provided as a constant. <br /></td></tr> <tr class="separator:ad4b361c3a370291ea397c700fe4f1ce3 inherit pub_static_attribs_class_fixed_block_size"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a25c14424122197a5b528d8a5b7937e1a inherit pub_static_attribs_class_fixed_block_size"><td class="memItemLeft" align="right" valign="top"><a id="a25c14424122197a5b528d8a5b7937e1a"></a> static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_block_size.html#a25c14424122197a5b528d8a5b7937e1a">MAX_BLOCKSIZE</a></td></tr> <tr class="memdesc:a25c14424122197a5b528d8a5b7937e1a inherit pub_static_attribs_class_fixed_block_size"><td class="mdescLeft"> </td><td class="mdescRight">The maximum blocksize for the algorithm provided as a constant. <br /></td></tr> <tr class="separator:a25c14424122197a5b528d8a5b7937e1a inherit pub_static_attribs_class_fixed_block_size"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_attribs_class_fixed_key_length"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_fixed_key_length')"><img src="closed.png" alt="-"/> Static Public Attributes inherited from <a class="el" href="class_fixed_key_length.html">FixedKeyLength< H ::BLOCKSIZE ></a></td></tr> <tr class="memitem:ab994d881a105849f64a973373e8f282c inherit pub_static_attribs_class_fixed_key_length"><td class="memItemLeft" align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_key_length.html#ab994d881a105849f64a973373e8f282c">KEYLENGTH</a></td></tr> <tr class="memdesc:ab994d881a105849f64a973373e8f282c inherit pub_static_attribs_class_fixed_key_length"><td class="mdescLeft"> </td><td class="mdescRight">The default key length used by the algorithm provided as a constant. <a href="class_fixed_key_length.html#ab994d881a105849f64a973373e8f282c">More...</a><br /></td></tr> <tr class="separator:ab994d881a105849f64a973373e8f282c inherit pub_static_attribs_class_fixed_key_length"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a198440f34bfe0f343fab3cdbef586a3b inherit pub_static_attribs_class_fixed_key_length"><td class="memItemLeft" align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_key_length.html#a198440f34bfe0f343fab3cdbef586a3b">MIN_KEYLENGTH</a></td></tr> <tr class="memdesc:a198440f34bfe0f343fab3cdbef586a3b inherit pub_static_attribs_class_fixed_key_length"><td class="mdescLeft"> </td><td class="mdescRight">The minimum key length used by the algorithm provided as a constant. <a href="class_fixed_key_length.html#a198440f34bfe0f343fab3cdbef586a3b">More...</a><br /></td></tr> <tr class="separator:a198440f34bfe0f343fab3cdbef586a3b inherit pub_static_attribs_class_fixed_key_length"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7c599a7ebb4e0fa4773c4cd1b4023b18 inherit pub_static_attribs_class_fixed_key_length"><td class="memItemLeft" align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_key_length.html#a7c599a7ebb4e0fa4773c4cd1b4023b18">MAX_KEYLENGTH</a></td></tr> <tr class="memdesc:a7c599a7ebb4e0fa4773c4cd1b4023b18 inherit pub_static_attribs_class_fixed_key_length"><td class="mdescLeft"> </td><td class="mdescRight">The maximum key length used by the algorithm provided as a constant. <a href="class_fixed_key_length.html#a7c599a7ebb4e0fa4773c4cd1b4023b18">More...</a><br /></td></tr> <tr class="separator:a7c599a7ebb4e0fa4773c4cd1b4023b18 inherit pub_static_attribs_class_fixed_key_length"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1e9951e11c42a0a8c75bd959bcf26f31 inherit pub_static_attribs_class_fixed_key_length"><td class="memItemLeft" align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_key_length.html#a1e9951e11c42a0a8c75bd959bcf26f31">DEFAULT_KEYLENGTH</a></td></tr> <tr class="memdesc:a1e9951e11c42a0a8c75bd959bcf26f31 inherit pub_static_attribs_class_fixed_key_length"><td class="mdescLeft"> </td><td class="mdescRight">The default key length used by the algorithm provided as a constant. <a href="class_fixed_key_length.html#a1e9951e11c42a0a8c75bd959bcf26f31">More...</a><br /></td></tr> <tr class="separator:a1e9951e11c42a0a8c75bd959bcf26f31 inherit pub_static_attribs_class_fixed_key_length"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab1a634167fe78a3ee06554a268e6d61c inherit pub_static_attribs_class_fixed_key_length"><td class="memItemLeft" align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_key_length.html#ab1a634167fe78a3ee06554a268e6d61c">IV_REQUIREMENT</a></td></tr> <tr class="memdesc:ab1a634167fe78a3ee06554a268e6d61c inherit pub_static_attribs_class_fixed_key_length"><td class="mdescLeft"> </td><td class="mdescRight">The default IV requirements for the algorithm provided as a constant. <a href="class_fixed_key_length.html#ab1a634167fe78a3ee06554a268e6d61c">More...</a><br /></td></tr> <tr class="separator:ab1a634167fe78a3ee06554a268e6d61c inherit pub_static_attribs_class_fixed_key_length"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a467a0101968e4181f770509e19ebef28 inherit pub_static_attribs_class_fixed_key_length"><td class="memItemLeft" align="right" valign="top">static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_fixed_key_length.html#a467a0101968e4181f770509e19ebef28">IV_LENGTH</a></td></tr> <tr class="memdesc:a467a0101968e4181f770509e19ebef28 inherit pub_static_attribs_class_fixed_key_length"><td class="mdescLeft"> </td><td class="mdescRight">The default IV length used by the algorithm provided as a constant. <a href="class_fixed_key_length.html#a467a0101968e4181f770509e19ebef28">More...</a><br /></td></tr> <tr class="separator:a467a0101968e4181f770509e19ebef28 inherit pub_static_attribs_class_fixed_key_length"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<class H><br /> class MDC< H ></h3> <p><a class="el" href="class_m_d_c.html" title="MDC cipher. ">MDC</a> cipher. </p> <dl class="tparams"><dt>Template Parameters</dt><dd> <table class="tparams"> <tr><td class="paramname">H</td><td><a class="el" href="class_hash_transformation.html" title="Interface for hash functions and data processing part of MACs. ">HashTransformation</a> derived class</td></tr> </table> </dd> </dl> <p><a class="el" href="class_m_d_c.html" title="MDC cipher. ">MDC()</a> is a construction by Peter Gutmann to turn an iterated hash function into a PRF </p><dl class="section see"><dt>See also</dt><dd><a href="http://www.cryptopp.com/wiki/MDC">MDC</a> </dd></dl> <p class="definition">Definition at line <a class="el" href="mdc_8h_source.html#l00032">32</a> of file <a class="el" href="mdc_8h_source.html">mdc.h</a>.</p> </div><hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="mdc_8h_source.html">mdc.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Sep 16 2018 07:58:43 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>