update : 2015.11.03
php.shukuma.com검색:
|
mcrypt_create_iv(PHP 4, PHP 5) mcrypt_create_iv — Creates an initialization vector (IV) from a random source 설명
string mcrypt_create_iv
( int
$size
[, int $source = MCRYPT_DEV_URANDOM
] )Creates an initialization vector (IV) from a random source. The IV is only meant to give an alternative seed to the encryption routines. This IV does not need to be secret at all, though it can be desirable. You even can send it along with your ciphertext without losing security. 인수
반환값
Returns the initialization vector, or 변경점
예제
Example #1 mcrypt_create_iv() Example
<?php 참고
|