Home
last modified time | relevance | path

Searched refs:mcrypt_ecb (Results 1 – 14 of 14) sorted by relevance

/PHP-5.5/ext/mcrypt/tests/
H A Dmcrypt_ecb_error.phpt2 Test mcrypt_ecb() function : error conditions
19 echo "*** Testing mcrypt_ecb() : error conditions ***\n";
22 //Test mcrypt_ecb with one more than the expected number of arguments
30 var_dump( mcrypt_ecb($cipher, $key, $data, $mode, $iv, $extra_arg) );
32 // Testing mcrypt_ecb with one less than the expected number of arguments
37 var_dump( mcrypt_ecb($cipher, $key, $data) );
42 *** Testing mcrypt_ecb() : error conditions ***
44 -- Testing mcrypt_ecb() function with more than expected no. of arguments --
46 Warning: mcrypt_ecb() expects at most 5 parameters, 6 given in %s on line %d
49 -- Testing mcrypt_ecb() function with less than expected no. of arguments --
[all …]
H A Dmcrypt_ecb_variation1.phpt2 Test mcrypt_ecb() function : usage variation
19 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
126 *** Testing mcrypt_ecb() : usage variation ***
129 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
133 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
137 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
141 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
145 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
149 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
153 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
[all …]
H A Dmcrypt_ecb.phpt2 mcrypt_ecb
12 $enc_data = mcrypt_ecb($cipher, $key, $secret, MCRYPT_ENCRYPT, $iv);
15 echo trim(mcrypt_ecb($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv)) . "\n";
18 mcrypt_ecb($cipher, $key, $enc_data, MCRYPT_DECRYPT);
22 Deprecated: Function mcrypt_ecb() is deprecated in %s on line %d
24 Deprecated: Function mcrypt_ecb() is deprecated in %s on line %d
27 Deprecated: Function mcrypt_ecb() is deprecated in %s on line %d
H A Dmcrypt_ecb_3des_encrypt.phpt2 Test mcrypt_ecb() function : basic functionality
13 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
19 echo "*** Testing mcrypt_ecb() : basic functionality ***\n";
44 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv)));
51 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv)));
56 *** Testing mcrypt_ecb() : basic functionality ***
71 Warning: mcrypt_ecb(): Size of key is too large for this algorithm in %s on line %d
H A Dmcrypt_ecb_variation2.phpt2 Test mcrypt_ecb() function : usage variation
13 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
19 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
118 var_dump(bin2hex(mcrypt_ecb($cipher, $value, $data, $mode, $iv)));
126 *** Testing mcrypt_ecb() : usage variation ***
156 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d)
160 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d)
164 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d)
168 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d)
199 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, object given, %s(%d)
[all …]
H A Dmcrypt_ecb_variation3.phpt2 Test mcrypt_ecb() function : usage variation
13 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
19 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
118 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $value, $mode, $iv)));
126 *** Testing mcrypt_ecb() : usage variation ***
156 Error: 2 - mcrypt_ecb() expects parameter 3 to be string, array given, %s(%d)
160 Error: 2 - mcrypt_ecb() expects parameter 3 to be string, array given, %s(%d)
164 Error: 2 - mcrypt_ecb() expects parameter 3 to be string, array given, %s(%d)
168 Error: 2 - mcrypt_ecb() expects parameter 3 to be string, array given, %s(%d)
199 Error: 2 - mcrypt_ecb() expects parameter 3 to be string, object given, %s(%d)
[all …]
H A Dmcrypt_ecb_variation5.phpt2 Test mcrypt_ecb() function : usage variation
13 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
19 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
118 var_dump(bin2hex( mcrypt_ecb($cipher, $key, $data, $mode, $value)));
126 *** Testing mcrypt_ecb() : usage variation ***
156 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, array given, %s(%d)
160 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, array given, %s(%d)
164 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, array given, %s(%d)
168 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, array given, %s(%d)
199 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, object given, %s(%d)
[all …]
H A Dmcrypt_ecb_3des_decrypt.phpt13 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
19 echo "*** Testing mcrypt_ecb() : basic functionality ***\n";
55 special_var_dump(mcrypt_ecb($cipher, $keys[$i], base64_decode($data1[$i]), $mode, $iv));
62 special_var_dump(mcrypt_ecb($cipher, $key, base64_decode($data2[$i]), $mode, $ivs[$i]));
71 *** Testing mcrypt_ecb() : basic functionality ***
86 Warning: mcrypt_ecb(): Size of key is too large for this algorithm in %s on line %d
H A Dmcrypt_ecb_variation4.phpt2 Test mcrypt_ecb() function : usage variation
13 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
19 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
118 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $value, $iv)));
126 *** Testing mcrypt_ecb() : usage variation ***
H A Dmcrypt_rijndael128_256BitKey.phpt26 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
/PHP-5.5/ext/mcrypt/
H A Dphp_mcrypt.h34 PHP_FUNCTION(mcrypt_ecb);
H A Dmcrypt.c241 PHP_DEP_FE(mcrypt_ecb, arginfo_mcrypt_ecb)
1332 PHP_FUNCTION(mcrypt_ecb) in PHP_FUNCTION() argument
/PHP-5.5/
H A DUPGRADING110 - mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw
H A DNEWS2098 . mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw

Completed in 56 milliseconds