Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 4242

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>This function terminates encryption</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.mcrypt-generic-deinit.html">mcrypt_generic_deinit</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.mcrypt-generic-init.html">mcrypt_generic_init</a></div>
 <div class="up"><a href="ref.mcrypt.html">Mcrypt Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.mcrypt-generic-end" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mcrypt_generic_end</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.2, PHP 5 &lt;= 5.1.6)</p><p class="refpurpose"><span class="refname">mcrypt_generic_end</span> &mdash; <span class="dc-title">This function terminates encryption</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.mcrypt-generic-end-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>mcrypt_generic_end</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$td</code></span>
   )</div>

  <p class="para rdfs-comment">
   <div class="warning"><strong class="warning">Warning</strong>
    <p class="para">
     This function is deprecated, use
      <span class="function"><a href="function.mcrypt-generic-deinit.html" class="function">mcrypt_generic_deinit()</a></span> instead. It can cause
     crashes when used with  <span class="function"><a href="function.mcrypt-module-close.html" class="function">mcrypt_module_close()</a></span> due to
     multiple buffer frees.
    </p>
   </div>
  </p>
  <p class="para">
   This function terminates encryption specified by the encryption
   descriptor (<em><code class="parameter">td</code></em>). Actually it clears all buffers,
   and closes all the modules used. Returns <strong><code>FALSE</code></strong> on error, or <strong><code>TRUE</code></strong> on
   success.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.mcrypt-generic-deinit.html">mcrypt_generic_deinit</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.mcrypt-generic-init.html">mcrypt_generic_init</a></div>
 <div class="up"><a href="ref.mcrypt.html">Mcrypt Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>