mcrypt_ecb

(PHP 3 >= 3.0.8, PHP 4, PHP 5)

mcrypt_ecb -- 非推奨: ECB モードでデータを暗号化/復号化する

説明

string mcrypt_ecb ( int cipher, string key, string data, int mode )

string mcrypt_ecb ( string cipher, string key, string data, int mode [, string iv] )

最初のプロトタイプは libmcrypt 2.2.x とリンクした場合、2 番目は libmcrypt 2.4.x とリンクした場合です。 modeMCRYPT_ENCRYPT あるいは MCRYPT_DECRYPT のいずれかとなります。

この関数は非推奨であり、使用すべきではありません。代替機能については mcrypt_generic() および mdecrypt_generic() を参照ください。