<?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> <refentry xml:id="function.mcrypt-cfb" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_cfb</refname> <refpurpose>Encrypts/decrypts data in CFB mode</refpurpose> </refnamediv> <refsynopsisdiv> <warning> &warn.deprecated.function.5-5-0.removed.7-0-0.alternatives; <simplelist role="alternatives"> <member><function>mcrypt_decrypt</function></member> <member><function>mcrypt_encrypt</function></member> </simplelist> </warning> </refsynopsisdiv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_cfb</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> <methodparam><type>string</type><parameter>key</parameter></methodparam> <methodparam><type>string</type><parameter>data</parameter></methodparam> <methodparam><type>int</type><parameter>mode</parameter></methodparam> <methodparam><type>string</type><parameter>iv</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>string</type><methodname>mcrypt_cfb</methodname> <methodparam><type>string</type><parameter>cipher</parameter></methodparam> <methodparam><type>string</type><parameter>key</parameter></methodparam> <methodparam><type>string</type><parameter>data</parameter></methodparam> <methodparam><type>int</type><parameter>mode</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>iv</parameter></methodparam> </methodsynopsis> <para> The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or higher. The <parameter>mode</parameter> should be either <constant>MCRYPT_ENCRYPT</constant> or <constant>MCRYPT_DECRYPT</constant>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->