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

📄 class_invertible_rabin_function.html

📁 著名的密码库Crypto++的文档 C++语言的杰作。程序员必备。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6f7f68cf7b9299b85da9df3241aa8096"></a><!-- doxytag: member="InvertibleRabinFunction::m_q" ref="6f7f68cf7b9299b85da9df3241aa8096" args="" --><a class="el" href="class_integer.html">Integer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_rabin_function.html#6f7f68cf7b9299b85da9df3241aa8096">m_q</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="39d937e65da2073ea867b8a93f8b25e7"></a><!-- doxytag: member="InvertibleRabinFunction::m_u" ref="39d937e65da2073ea867b8a93f8b25e7" args="" --><a class="el" href="class_integer.html">Integer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_invertible_rabin_function.html#39d937e65da2073ea867b8a93f8b25e7">m_u</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f361185b5962701c78c410945f6280bc"></a><!-- doxytag: member="InvertibleRabinFunction::m_n" ref="f361185b5962701c78c410945f6280bc" args="" --><a class="el" href="class_integer.html">Integer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_rabin_function.html#f361185b5962701c78c410945f6280bc">m_n</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c98a931385ae02de294a7a7da66fddfd"></a><!-- doxytag: member="InvertibleRabinFunction::m_r" ref="c98a931385ae02de294a7a7da66fddfd" args="" --><a class="el" href="class_integer.html">Integer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_rabin_function.html#c98a931385ae02de294a7a7da66fddfd">m_r</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="601264d1c703941468aaaa7c1918dec2"></a><!-- doxytag: member="InvertibleRabinFunction::m_s" ref="601264d1c703941468aaaa7c1918dec2" args="" --><a class="el" href="class_integer.html">Integer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_rabin_function.html#601264d1c703941468aaaa7c1918dec2">m_s</a></td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="8f654d654bf7e833c9c48351346d3cb9"></a><!-- doxytag: member="InvertibleRabinFunction::Validate" ref="8f654d654bf7e833c9c48351346d3cb9" args="(RandomNumberGenerator &amp;rng, unsigned int level) const" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">bool InvertibleRabinFunction::Validate           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&nbsp;</td>          <td class="paramname"> <em>rng</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">unsigned int&nbsp;</td>          <td class="paramname"> <em>level</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>check this object for errors <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>level</em>&nbsp;</td><td>denotes the level of thoroughness: 0 - using this object won't cause a crash or exception (rng is ignored) 1 - this object will probably function (encrypt, sign, etc.) correctly (but may not check for weak keys and such) 2 - make sure this object will function correctly, and do reasonable security checks 3 - do checks that may take a long time </td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the tests pass </dd></dl><p>Reimplemented from <a class="el" href="class_rabin_function.html#c1f4bf45382c16a486616269884d95be">RabinFunction</a>.<p>Definition at line <a class="el" href="rabin_8cpp-source.html#l00183">183</a> of file <a class="el" href="rabin_8cpp-source.html">rabin.cpp</a>.<p>References <a class="el" href="integer_8h-source.html#l00205">Integer::IsPositive()</a>, <a class="el" href="rabin_8h-source.html#l00042">RabinFunction::m_n</a>, <a class="el" href="rabin_8h-source.html#l00077">m_p</a>, <a class="el" href="rabin_8h-source.html#l00077">m_q</a>, <a class="el" href="rabin_8h-source.html#l00042">RabinFunction::m_r</a>, <a class="el" href="rabin_8h-source.html#l00042">RabinFunction::m_s</a>, <a class="el" href="rabin_8h-source.html#l00077">m_u</a>, <a class="el" href="integer_8cpp-source.html#l02867">Integer::One()</a>, and <a class="el" href="rabin_8cpp-source.html#l00042">RabinFunction::Validate()</a>.</div></div><p><a class="anchor" name="66594bb7f369e4ecc30bbe6ae62527ea"></a><!-- doxytag: member="InvertibleRabinFunction::AssignFrom" ref="66594bb7f369e4ecc30bbe6ae62527ea" args="(const NameValuePairs &amp;source)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">void InvertibleRabinFunction::AssignFrom           </td>          <td>(</td>          <td class="paramtype">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;&nbsp;</td>          <td class="paramname"> <em>source</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"><code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>assign values from source to this object <p><dl class="note" compact><dt><b>Note:</b></dt><dd>This function can be used to create a public key from a private key. </dd></dl><p>Reimplemented from <a class="el" href="class_rabin_function.html#e585a0d58b1b95579459c2b42eea980c">RabinFunction</a>.<p>Definition at line <a class="el" href="rabin_8cpp-source.html#l00212">212</a> of file <a class="el" href="rabin_8cpp-source.html">rabin.cpp</a>.</div></div><p><a class="anchor" name="571737380b956b4add10c855484af670"></a><!-- doxytag: member="InvertibleRabinFunction::GenerateRandom" ref="571737380b956b4add10c855484af670" args="(RandomNumberGenerator &amp;rng, const NameValuePairs &amp;alg)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">void InvertibleRabinFunction::GenerateRandom           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&nbsp;</td>          <td class="paramname"> <em>rng</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;&nbsp;</td>          <td class="paramname"> <em>alg</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"><code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc">

⌨️ 快捷键说明

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