<!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++: CFB_EncryptionTemplate< BASE > 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="class_c_f_b___encryption_template-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">CFB_EncryptionTemplate< BASE > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>Base class for feedback based stream ciphers in the forward direction with <a class="el" href="class_symmetric_cipher.html" title="Interface for one direction (encryption or decryption) of a stream cipher or cipher mode...">SymmetricCipher</a> interface. <a href="class_c_f_b___encryption_template.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 CFB_EncryptionTemplate< BASE >:</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_c_f_b___encryption_template.png" usemap="#CFB_5FEncryptionTemplate_3C_20BASE_20_3E_map" alt=""/> <map id="CFB_5FEncryptionTemplate_3C_20BASE_20_3E_map" name="CFB_5FEncryptionTemplate_3C_20BASE_20_3E_map"> <area href="class_c_f_b___cipher_template.html" title="Base class for feedback based stream ciphers with SymmetricCipher interface. " alt="CFB_CipherTemplate< BASE >" shape="rect" coords="0,56,212,80"/> </map> </div></div> <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_types_class_c_f_b___cipher_template"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_c_f_b___cipher_template')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="class_c_f_b___cipher_template.html">CFB_CipherTemplate< BASE ></a></td></tr> <tr class="memitem:a9e72e3524dd351fd0e87382fe84cd306 inherit pub_types_class_c_f_b___cipher_template"><td class="memItemLeft" align="right" valign="top"><a id="a9e72e3524dd351fd0e87382fe84cd306"></a> typedef BASE::PolicyInterface </td><td class="memItemRight" valign="bottom"><b>PolicyInterface</b></td></tr> <tr class="separator:a9e72e3524dd351fd0e87382fe84cd306 inherit pub_types_class_c_f_b___cipher_template"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_c_f_b___cipher_template"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_c_f_b___cipher_template')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_c_f_b___cipher_template.html">CFB_CipherTemplate< BASE ></a></td></tr> <tr class="memitem:adf14a759fd95fd687f4e257264771f89 inherit pub_methods_class_c_f_b___cipher_template"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_f_b___cipher_template.html#adf14a759fd95fd687f4e257264771f89">ProcessData</a> (byte *outString, const byte *inString, size_t length)</td></tr> <tr class="memdesc:adf14a759fd95fd687f4e257264771f89 inherit pub_methods_class_c_f_b___cipher_template"><td class="mdescLeft"> </td><td class="mdescRight">Apply keystream to data. <a href="class_c_f_b___cipher_template.html#adf14a759fd95fd687f4e257264771f89">More...</a><br /></td></tr> <tr class="separator:adf14a759fd95fd687f4e257264771f89 inherit pub_methods_class_c_f_b___cipher_template"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8604f13ab0f11d510c8e1f28526333a0 inherit pub_methods_class_c_f_b___cipher_template"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_f_b___cipher_template.html#a8604f13ab0f11d510c8e1f28526333a0">Resynchronize</a> (const byte *iv, int length=-1)</td></tr> <tr class="memdesc:a8604f13ab0f11d510c8e1f28526333a0 inherit pub_methods_class_c_f_b___cipher_template"><td class="mdescLeft"> </td><td class="mdescRight">Resynchronize the cipher. <a href="class_c_f_b___cipher_template.html#a8604f13ab0f11d510c8e1f28526333a0">More...</a><br /></td></tr> <tr class="separator:a8604f13ab0f11d510c8e1f28526333a0 inherit pub_methods_class_c_f_b___cipher_template"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3055f5f53d6770aacfb4c042f75e5dab inherit pub_methods_class_c_f_b___cipher_template"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_f_b___cipher_template.html#a3055f5f53d6770aacfb4c042f75e5dab">OptimalBlockSize</a> () const</td></tr> <tr class="memdesc:a3055f5f53d6770aacfb4c042f75e5dab inherit pub_methods_class_c_f_b___cipher_template"><td class="mdescLeft"> </td><td class="mdescRight">Provides number of ideal bytes to process. <a href="class_c_f_b___cipher_template.html#a3055f5f53d6770aacfb4c042f75e5dab">More...</a><br /></td></tr> <tr class="separator:a3055f5f53d6770aacfb4c042f75e5dab inherit pub_methods_class_c_f_b___cipher_template"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adae738b3fbef96cb5ed6c0f37f6e9621 inherit pub_methods_class_c_f_b___cipher_template"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_f_b___cipher_template.html#adae738b3fbef96cb5ed6c0f37f6e9621">GetOptimalNextBlockSize</a> () const</td></tr> <tr class="memdesc:adae738b3fbef96cb5ed6c0f37f6e9621 inherit pub_methods_class_c_f_b___cipher_template"><td class="mdescLeft"> </td><td class="mdescRight">Provides number of ideal bytes to process. <a href="class_c_f_b___cipher_template.html#adae738b3fbef96cb5ed6c0f37f6e9621">More...</a><br /></td></tr> <tr class="separator:adae738b3fbef96cb5ed6c0f37f6e9621 inherit pub_methods_class_c_f_b___cipher_template"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3efd5acd93a2e3601d80bbbf9beaaf1d inherit pub_methods_class_c_f_b___cipher_template"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_f_b___cipher_template.html#a3efd5acd93a2e3601d80bbbf9beaaf1d">OptimalDataAlignment</a> () const</td></tr> <tr class="memdesc:a3efd5acd93a2e3601d80bbbf9beaaf1d inherit pub_methods_class_c_f_b___cipher_template"><td class="mdescLeft"> </td><td class="mdescRight">Provides number of ideal data alignment. <a href="class_c_f_b___cipher_template.html#a3efd5acd93a2e3601d80bbbf9beaaf1d">More...</a><br /></td></tr> <tr class="separator:a3efd5acd93a2e3601d80bbbf9beaaf1d inherit pub_methods_class_c_f_b___cipher_template"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a71489329f90306fbf7916335b9bc0ca9 inherit pub_methods_class_c_f_b___cipher_template"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_f_b___cipher_template.html#a71489329f90306fbf7916335b9bc0ca9">IsRandomAccess</a> () const</td></tr> <tr class="memdesc:a71489329f90306fbf7916335b9bc0ca9 inherit pub_methods_class_c_f_b___cipher_template"><td class="mdescLeft"> </td><td class="mdescRight">Flag indicating random access. <a href="class_c_f_b___cipher_template.html#a71489329f90306fbf7916335b9bc0ca9">More...</a><br /></td></tr> <tr class="separator:a71489329f90306fbf7916335b9bc0ca9 inherit pub_methods_class_c_f_b___cipher_template"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:add3c4fa05f62c3e601faa4a469ee108d inherit pub_methods_class_c_f_b___cipher_template"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_f_b___cipher_template.html#add3c4fa05f62c3e601faa4a469ee108d">IsSelfInverting</a> () const</td></tr> <tr class="memdesc:add3c4fa05f62c3e601faa4a469ee108d inherit pub_methods_class_c_f_b___cipher_template"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the cipher is self inverting. <a href="class_c_f_b___cipher_template.html#add3c4fa05f62c3e601faa4a469ee108d">More...</a><br /></td></tr> <tr class="separator:add3c4fa05f62c3e601faa4a469ee108d inherit pub_methods_class_c_f_b___cipher_template"><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 BASE = AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher>><br /> class CFB_EncryptionTemplate< BASE ></h3> <p>Base class for feedback based stream ciphers in the forward direction with <a class="el" href="class_symmetric_cipher.html" title="Interface for one direction (encryption or decryption) of a stream cipher or cipher mode...">SymmetricCipher</a> interface. </p> <dl class="tparams"><dt>Template Parameters</dt><dd> <table class="tparams"> <tr><td class="paramname">BASE</td><td><a class="el" href="class_abstract_policy_holder.html" title="Access a stream cipher policy object. ">AbstractPolicyHolder</a> base class </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="strciphr_8h_source.html#l00542">542</a> of file <a class="el" href="strciphr_8h_source.html">strciphr.h</a>.</p> </div><hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="strciphr_8h_source.html">strciphr.h</a></li> <li><a class="el" href="strciphr_8cpp_source.html">strciphr.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Sep 16 2018 07:58:20 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>