Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > 07dfcfe50d66c9a48a3c5e6c1693f12a > files > 413

cryptopp-doc-5.6.1-0.1.svn479.fc13.i686.rpm

<!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"/>
<title>Crypto++: DL_EncryptionAlgorithm_Xor&lt; MAC, DHAES_MODE &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>DL_EncryptionAlgorithm_Xor&lt; MAC, DHAES_MODE &gt; Class Template Reference</h1><!-- doxytag: class="DL_EncryptionAlgorithm_Xor" --><!-- doxytag: inherits="DL_SymmetricEncryptionAlgorithm" -->
<p>the XOR encryption method, for use with DL-based cryptosystems  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="gfpcrypt_8h_source.html">gfpcrypt.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for DL_EncryptionAlgorithm_Xor&lt; MAC, DHAES_MODE &gt;:</div>
<div class="dynsection">
 <div class="center">
  <img src="class_d_l___encryption_algorithm___xor.gif" usemap="#DL_EncryptionAlgorithm_Xor&lt; MAC, DHAES_MODE &gt;_map" alt=""/>
  <map id="DL_EncryptionAlgorithm_Xor&lt; MAC, DHAES_MODE &gt;_map" name="DL_EncryptionAlgorithm_Xor&lt; MAC, DHAES_MODE &gt;_map">
<area href="class_d_l___symmetric_encryption_algorithm.html" alt="DL_SymmetricEncryptionAlgorithm" shape="rect" coords="0,0,327,24"/>
</map>
 </div>
</div>

<p><a href="class_d_l___encryption_algorithm___xor-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc408852b435f42e49e8df2ea8d11bc2"></a><!-- doxytag: member="DL_EncryptionAlgorithm_Xor::ParameterSupported" ref="acc408852b435f42e49e8df2ea8d11bc2" args="(const char *name) const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>ParameterSupported</b> (const char *name) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0412be112fa213d64e4034171683d1a0"></a><!-- doxytag: member="DL_EncryptionAlgorithm_Xor::GetSymmetricKeyLength" ref="a0412be112fa213d64e4034171683d1a0" args="(size_t plaintextLength) const " -->
size_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetSymmetricKeyLength</b> (size_t plaintextLength) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1aafb7e592295434ca56b4bc5813a000"></a><!-- doxytag: member="DL_EncryptionAlgorithm_Xor::GetSymmetricCiphertextLength" ref="a1aafb7e592295434ca56b4bc5813a000" args="(size_t plaintextLength) const " -->
size_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetSymmetricCiphertextLength</b> (size_t plaintextLength) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a410daf0e1131956e0382fc8d66d964f5"></a><!-- doxytag: member="DL_EncryptionAlgorithm_Xor::GetMaxSymmetricPlaintextLength" ref="a410daf0e1131956e0382fc8d66d964f5" args="(size_t ciphertextLength) const " -->
size_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetMaxSymmetricPlaintextLength</b> (size_t ciphertextLength) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4986d6fccb45fc89db7be25f49c4bd8c"></a><!-- doxytag: member="DL_EncryptionAlgorithm_Xor::SymmetricEncrypt" ref="a4986d6fccb45fc89db7be25f49c4bd8c" args="(RandomNumberGenerator &amp;rng, const byte *key, const byte *plaintext, size_t plaintextLength, byte *ciphertext, const NameValuePairs &amp;parameters) const " -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>SymmetricEncrypt</b> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, const byte *key, const byte *plaintext, size_t plaintextLength, byte *ciphertext, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;parameters) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f95a94a4be76876ddb93c6cb9c44a49"></a><!-- doxytag: member="DL_EncryptionAlgorithm_Xor::SymmetricDecrypt" ref="a2f95a94a4be76876ddb93c6cb9c44a49" args="(const byte *key, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs &amp;parameters) const " -->
<a class="el" href="struct_decoding_result.html">DecodingResult</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>SymmetricDecrypt</b> (const byte *key, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;parameters) const </td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class MAC, bool DHAES_MODE&gt;<br/>
 class DL_EncryptionAlgorithm_Xor&lt; MAC, DHAES_MODE &gt;</h3>

<p>the XOR encryption method, for use with DL-based cryptosystems </p>

<p>Definition at line <a class="el" href="gfpcrypt_8h_source.html#l00420">420</a> of file <a class="el" href="gfpcrypt_8h_source.html">gfpcrypt.h</a>.</p>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="gfpcrypt_8h_source.html">gfpcrypt.h</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 9 Dec 2009 for Crypto++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>