PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mcrypt_enc_get_supported_key_sizes> <mcrypt_enc_get_key_size
Last updated: Fri, 10 Oct 2008

view this page in

mcrypt_enc_get_modes_name

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_enc_get_modes_nameオープンされたモードの名前を返す

説明

string mcrypt_enc_get_modes_name ( resource $td )

この関数はモード名を返します。

パラメータ

td

暗号化記述子。

返り値

名前を表す文字列を返します。

例1 mcrypt_enc_get_modes_name() の例

<?php
$td 
mcrypt_module_open (MCRYPT_CAST_256''MCRYPT_MODE_CFB'');
echo 
mcrypt_enc_get_modes_name($td). "\n";

$td mcrypt_module_open ('cast-256''''ecb''');
echo 
mcrypt_enc_get_modes_name($td). "\n";
?>

上の例の出力は以下となります。

CFB
ECB



add a note add a note User Contributed Notes
mcrypt_enc_get_modes_name
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites