Lines Matching refs:iv
11 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
12 * Description: ECB crypt/decrypt data using key key with cipher cipher starting with iv
38 $iv = b'12345678';
42 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv)));
46 echo "\n--- testing different iv lengths\n";
47 foreach ($ivs as $iv) {
48 echo "\niv length=".strlen($iv)."\n";
49 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv)));
72 --- testing different iv lengths
74 iv length=4
77 iv length=8
80 iv length=9