update : 2015.11.03
php.shukuma.com검색:
|
mcrypt_generic_init(PHP 4 >= 4.0.2, PHP 5) mcrypt_generic_init — This function initializes all buffers needed for encryption 설명
int mcrypt_generic_init
( resource
$td
, string $key
, string $iv
)You need to call this function before every call to mcrypt_generic() or mdecrypt_generic(). 인수
반환값
The function returns a negative value on error: -3 when the key length
was incorrect, -4 when there was a memory allocation problem and any
other return value is an unknown error. If an error occurs a warning will
be displayed accordingly. |