Sophie

Sophie

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

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 deinitializes an encryption module</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.mcrypt-encrypt.html">mcrypt_encrypt</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.mcrypt-generic-end.html">mcrypt_generic_end</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-deinit" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mcrypt_generic_deinit</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.7, PHP 5)</p><p class="refpurpose"><span class="refname">mcrypt_generic_deinit</span> &mdash; <span class="dc-title">This function deinitializes an encryption module</span></p>

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

  <p class="para rdfs-comment">
   This function terminates encryption specified by the encryption
   descriptor (<em><code class="parameter">td</code></em>). It clears all buffers, but does
   not close the module.  You need to call
    <span class="function"><a href="function.mcrypt-module-close.html" class="function">mcrypt_module_close()</a></span> yourself. (But PHP does this for
   you at the end of the script.)
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mcrypt-generic-deinit-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">td</code></em></span>
     <dd>

      <p class="para">
       The encryption descriptor.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mcrypt-generic-deinit-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success or <strong><code>FALSE</code></strong> on failure.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.mcrypt-generic-deinit-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.mcrypt-module-open.html" class="function" rel="rdfs-seeAlso">mcrypt_module_open()</a> - Opens the module of the algorithm and the mode to be used</span></li>
    <li class="member"> <span class="function"><a href="function.mcrypt-generic-init.html" class="function" rel="rdfs-seeAlso">mcrypt_generic_init()</a> - This function initializes all buffers needed for encryption</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.mcrypt-encrypt.html">mcrypt_encrypt</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.mcrypt-generic-end.html">mcrypt_generic_end</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>