<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<refentry xml:id="function.mcrypt-module-get-supported-key-sizes" xmlns="http://docbook.org/ns/docbook">
 <refnamediv>
  <refname>mcrypt_module_get_supported_key_sizes</refname>
  <refpurpose>Returns an array with the supported keysizes of the opened algorithm</refpurpose>
 </refnamediv>
 
 <refsect1 role="description">
  &reftitle.description;
  <methodsynopsis>
   <type>array</type><methodname>mcrypt_module_get_supported_key_sizes</methodname>
   <methodparam><type>string</type><parameter>algorithm</parameter></methodparam>
   <methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter></methodparam>
  </methodsynopsis>
  <para>
   Returns an array with the key sizes supported by the specified algorithm.
   If it returns an empty array then all key sizes between 1 and
   <function>mcrypt_module_get_algo_key_size</function> are supported by the
   algorithm. The optional <parameter>lib_dir</parameter> parameter can
   contain the location where the mode module is on the system.
  </para>
  <para>
   See also <function>mcrypt_enc_get_supported_key_sizes</function> which is
   used on open encryption modules.
  </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:"../../../../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
-->