📄 class_t_f___encryptor_impl.html
字号:
<p>References <a class="el" href="cryptlib_8h-source.html#l00343">Algorithm::AlgorithmName()</a>, <a class="el" href="integer_8cpp-source.html#l02866">Integer::Encode()</a>, and <a class="el" href="secblock_8h-source.html#l00264">SecBlock< byte >::size()</a>. </td> </tr></table><a name="_t_f___public_object_impl_3_01_t_f___encryptor_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a12" doxytag="TF_EncryptorImpl::CreateEncryptionFilter"></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"> <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> * PK_Encryptor::CreateEncryptionFilter </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> & </td> <td class="mdname" nowrap> <em>rng</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> * </td> <td class="mdname" nowrap> <em>attachment</em> = NULL</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>create a new encryption filter <p><dl compact><dt><b>Note:</b></dt><dd>caller is responsible for deleting the returned pointer</dd></dl><p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00508">508</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>. </td> </tr></table><a name="_t_f___public_object_impl_3_01_t_f___encryptor_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a13" doxytag="TF_EncryptorImpl::MaxPlaintextLength"></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"> virtual unsigned int PK_CryptoSystem::MaxPlaintextLength </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned int </td> <td class="mdname1" valign="top" nowrap> <em>cipherTextLength</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [pure virtual, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>maximum length of plaintext for a given ciphertext length <p><dl compact><dt><b>Note:</b></dt><dd>This function returns 0 if cipherTextLength is not valid (too long or too short). </dd></dl><p>Implemented in <a class="el" href="class_p_k___fixed_length_crypto_system.html#_t_f___public_object_impl_3_01_t_f___encryptor_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a14">PK_FixedLengthCryptoSystem</a>. </td> </tr></table><a name="_t_f___public_object_impl_3_01_t_f___encryptor_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a14" doxytag="TF_EncryptorImpl::MaxPlaintextLength"></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 PK_FixedLengthCryptoSystem::MaxPlaintextLength </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned int </td> <td class="mdname1" valign="top" nowrap> <em>cipherTextLength</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>maximum length of plaintext for a given ciphertext length <p><dl compact><dt><b>Note:</b></dt><dd>This function returns 0 if cipherTextLength is not valid (too long or too short). </dd></dl><p>Implements <a class="el" href="class_p_k___crypto_system.html#_t_f___public_object_impl_3_01_t_f___encryptor_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a13">PK_CryptoSystem</a>.<p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00595">595</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>. </td> </tr></table><a name="_t_f___public_object_impl_3_01_t_f___encryptor_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a15" doxytag="TF_EncryptorImpl::CiphertextLength"></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"> virtual unsigned int PK_CryptoSystem::CiphertextLength </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned int </td> <td class="mdname1" valign="top" nowrap> <em>plainTextLength</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [pure virtual, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>calculate length of ciphertext given length of plaintext <p><dl compact><dt><b>Note:</b></dt><dd>This function returns 0 if plainTextLength is not valid (too long). </dd></dl><p>Implemented in <a class="el" href="class_p_k___fixed_length_crypto_system.html#_t_f___public_object_impl_3_01_t_f___encryptor_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a16">PK_FixedLengthCryptoSystem</a>. </td> </tr></table><a name="_t_f___public_object_impl_3_01_t_f___encryptor_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a16" doxytag="TF_EncryptorImpl::CiphertextLength"></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 PK_FixedLengthCryptoSystem::CiphertextLength </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned int </td> <td class="mdname1" valign="top" nowrap> <em>plainTextLength</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual, inherited]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>calculate length of ciphertext given length of plaintext <p><dl compact><dt><b>Note:</b></dt><dd>This function returns 0 if plainTextLength is not valid (too long). </dd></dl><p>Implements <a class="el" href="class_p_k___crypto_system.html#_t_f___public_object_impl_3_01_t_f___encryptor_base_00_01_s_c_h_e_m_e___o_p_t_i_o_n_s_01_4a15">PK_CryptoSystem</a>.<p>Definition at line <a class="el" href="cryptlib_8cpp-source.html#l00603">603</a> of file <a class="el" href="cryptlib_8cpp-source.html">cryptlib.cpp</a>. </td> </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="pubkey_8h-source.html">pubkey.h</a></ul><hr size="1"><address style="align: right;"><small>Generated on Tue Jul 8 23:35:42 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 + -