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

search for in the

mcrypt_enc_get_key_size> <mcrypt_enc_get_block_size
[edit] Last updated: Fri, 25 May 2012

view this page in

mcrypt_enc_get_iv_size

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_enc_get_iv_sizeオープンされたアルゴリズムの IV の大きさを返す

説明

int mcrypt_enc_get_iv_size ( resource $td )

この関数は、暗号化記述子で指定したアルゴリズムの iv の大きさを バイト単位で返します。IV は、cbc、cfb、ofbモード およびストリームモードのいくつかのアルゴリズムで使用されます。

パラメータ

td

暗号化記述子。

返り値

この関数は、暗号化記述子で指定したアルゴリズムの iv の大きさを バイト単位で返します。 この関数が '0' を返す場合、IV は そのアルゴリズムでは無視されます。



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

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