⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_weak1_1_1_m_d2.html

📁 著名的密码库Crypto++的文档 C++语言的杰作。程序员必备。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns name of this algorithm, not universally implemented yet <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0016ba2d505c23aa85aad49e6c19bb7"></a><!-- doxytag: member="Weak1::MD2::Clone" ref="d0016ba2d505c23aa85aad49e6c19bb7" args="() const" -->virtual <a class="el" href="class_clonable.html">Clonable</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clonable.html#d0016ba2d505c23aa85aad49e6c19bb7">Clone</a> () const</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">this is not implemented by most classes yet <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="f4c4c81aec16391f8c2048409f9a34e0"></a><!-- doxytag: member="Weak1::MD2::StaticAlgorithmName" ref="f4c4c81aec16391f8c2048409f9a34e0" args="()" -->static const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_weak1_1_1_m_d2.html#f4c4c81aec16391f8c2048409f9a34e0">StaticAlgorithmName</a> ()</td></tr><tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="161a8db65632d0cf3c154583d33f3a53"></a><!-- doxytag: member="Weak1::MD2::DIGESTSIZE" ref="161a8db65632d0cf3c154583d33f3a53" args="" -->static const int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_weak1_1_1_m_d2.html#161a8db65632d0cf3c154583d33f3a53">DIGESTSIZE</a> = 16</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46eae6199a9e3c9d6a27ce6496df8044"></a><!-- doxytag: member="Weak1::MD2::BLOCKSIZE" ref="46eae6199a9e3c9d6a27ce6496df8044" args="" -->static const int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_weak1_1_1_m_d2.html#46eae6199a9e3c9d6a27ce6496df8044">BLOCKSIZE</a> = 16</td></tr><tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="64ba03d31c489dc32b50e00d377d8032"></a><!-- doxytag: member="Weak1::MD2::ThrowIfInvalidTruncatedSize" ref="64ba03d31c489dc32b50e00d377d8032" args="(size_t size) const" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_hash_transformation.html#64ba03d31c489dc32b50e00d377d8032">ThrowIfInvalidTruncatedSize</a> (size_t size) const</td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="39b0a4c4cdc11fda358f9975b5e4137e"></a><!-- doxytag: member="Weak1::MD2::Ref" ref="39b0a4c4cdc11fda358f9975b5e4137e" args="()" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname"><a class="el" href="class_hash_transformation.html">HashTransformation</a>&amp; HashTransformation::Ref           </td>          <td>(</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"><code> [inline, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>return a reference to this object, <p>This function is useful for passing a temporary <a class="el" href="class_hash_transformation.html" title="interface for hash functions and data processing part of MACs">HashTransformation</a> object to a function that takes a non-const reference. <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00533">533</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.</div></div><p><a class="anchor" name="a0b8c7a110d8968268fd02ec32b9a8e8"></a><!-- doxytag: member="Weak1::MD2::Final" ref="a0b8c7a110d8968268fd02ec32b9a8e8" args="(byte *digest)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">virtual void HashTransformation::Final           </td>          <td>(</td>          <td class="paramtype">byte *&nbsp;</td>          <td class="paramname"> <em>digest</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"><code> [inline, virtual, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>compute hash for current message, then restart for a new message <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of digest == <a class="el" href="class_hash_transformation.html#41faf8b1293a6c72390cb0c8bd668097" title="size of the hash returned by Final()">DigestSize()</a>. </dd></dl><p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00543">543</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="pssr_8cpp-source.html#l00045">PSSR_MEM_Base::ComputeMessageRepresentative()</a>, <a class="el" href="pkcspad_8cpp-source.html#l00089">PKCS1v15_SignatureMessageEncodingMethod::ComputeMessageRepresentative()</a>, <a class="el" href="esign_8h-source.html#l00092">EMSA5Pad&lt; T &gt;::ComputeMessageRepresentative()</a>, <a class="el" href="pwdbased_8h-source.html#l00085">PKCS5_PBKDF2_HMAC&lt; T &gt;::DeriveKey()</a>, <a class="el" href="default_8cpp-source.html#l00083">DefaultEncryptor::FirstPut()</a>, <a class="el" href="randpool_8cpp-source.html#l00024">RandomPool::IncorporateEntropy()</a>, <a class="el" href="pssr_8cpp-source.html#l00084">PSSR_MEM_Base::RecoverMessageFromRepresentative()</a>, <a class="el" href="hmac_8cpp-source.html#l00067">HMAC_Base::TruncatedFinal()</a>, <a class="el" href="zlib_8cpp-source.html#l00033">ZlibCompressor::WritePoststreamTail()</a>, and <a class="el" href="gzip_8cpp-source.html#l00029">Gzip::WritePoststreamTail()</a>.</div></div><p><a class="anchor" name="16c4aecd047015d513feef4ed5b929ba"></a><!-- doxytag: member="Weak1::MD2::Verify" ref="16c4aecd047015d513feef4ed5b929ba" args="(const byte *digest)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">virtual bool HashTransformation::Verify           </td>          <td>(</td>          <td class="paramtype">const byte *&nbsp;</td>          <td class="paramname"> <em>digest</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"><code> [inline, virtual, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>verify that digest is a valid digest for the current message, then reinitialize the object <p>Default implementation is to call <a class="el" href="class_hash_transformation.html#a0b8c7a110d8968268fd02ec32b9a8e8" title="compute hash for current message, then restart for a new message">Final()</a> and do a bitwise comparison between its output and digest. <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00569">569</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="filters_8cpp-source.html#l00773">HashVerificationFilter::LastPut()</a>, <a class="el" href="gzip_8cpp-source.html#l00084">Gunzip::ProcessPoststreamTail()</a>, and <a class="el" href="pssr_8cpp-source.html#l00084">PSSR_MEM_Base::RecoverMessageFromRepresentative()</a>.</div></div><p><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="md2_8h-source.html">md2.h</a><li><a class="el" href="md2_8cpp-source.html">md2.cpp</a></ul><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 1 11:11:55 2007 for Crypto++ by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -