mcrypt_decrypt
使用给定参数解密密文
&warn.deprecated.function-7-1-0.removed-7-2-0;
&reftitle.description;
stringfalsemcrypt_decrypt
stringcipher
stringkey
stringdata
stringmode
stringiv
解密 data 并返回明文。
&reftitle.parameters;
cipher
&mcrypt.parameter.cipher;
key
数据加密密钥。
如果密钥长度不是加解密算法能够支持的有效长度,
那么会产生警告并且返回 &false;
data
要使用给定的 cipher 和
mode 解密的数据。
如果数据大小不是 n * 分组大小,则在其后追加 '\0' 来补齐。
mode
&mcrypt.parameter.mode;
iv
&mcrypt.parameter.iv.strict;
&reftitle.returnvalues;
以字符串格式返回解密后的数据, &return.falseforfailure;。
&reftitle.seealso;
mcrypt_encrypt