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

📄 class_polynomial_mod2.html

📁 Crypto++是一个非常强大的密码学库,主要是功能全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</table><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="_polynomial_mod2z19_2" doxytag="PolynomialMod2::PolynomialMod2"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PolynomialMod2::PolynomialMod2 </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">word&nbsp;</td>          <td class="mdname" nowrap> <em>value</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned int&nbsp;</td>          <td class="mdname" nowrap> <em>bitLength</em> = WORD_BITS</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>convert from word <p>value should be encoded with the least significant bit as coefficient to x^0 and most significant bit as coefficient to x^(WORD_BITS-1) bitLength denotes how much memory to allocate initially<p>Definition at line <a class="el" href="gf2n_8cpp-source.html#l00022">22</a> of file <a class="el" href="gf2n_8cpp-source.html">gf2n.cpp</a>.<p>References <a class="el" href="secblock_8h-source.html#l00264">SecBlock&lt; word &gt;::size()</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="_polynomial_mod2z21_0" doxytag="PolynomialMod2::MinEncodedSize"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> unsigned int PolynomialMod2::MinEncodedSize </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>minimum number of bytes to encode this polynomial <p>MinEncodedSize of 0 is 1 <p>Definition at line <a class="el" href="gf2n_8h-source.html#l00077">77</a> of file <a class="el" href="gf2n_8h-source.html">gf2n.h</a>.    </td>  </tr></table><a name="_polynomial_mod2z21_1" doxytag="PolynomialMod2::Encode"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> unsigned int PolynomialMod2::Encode </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">byte *&nbsp;</td>          <td class="mdname" nowrap> <em>output</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned int&nbsp;</td>          <td class="mdname" nowrap> <em>outputLen</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>encode in big-endian format <p>if outputLen &lt; MinEncodedSize, the most significant bytes will be dropped if outputLen &gt; MinEncodedSize, the most significant bytes will be padded<p>Definition at line <a class="el" href="gf2n_8cpp-source.html#l00132">132</a> of file <a class="el" href="gf2n_8cpp-source.html">gf2n.cpp</a>.<p>Referenced by <a class="el" href="gf2n_8cpp-source.html#l00157">DEREncodeAsOctetString()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="gf2n_8h-source.html">gf2n.h</a><li><a class="el" href="gf2n_8cpp-source.html">gf2n.cpp</a></ul><hr size="1"><address style="align: right;"><small>Generated on Tue Jul 8 23:35:23 2003 for Crypto++ by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.2 </small></address></body></html>

⌨️ 快捷键说明

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