Home
last modified time | relevance | path

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

/PHP-5.4/ext/mcrypt/tests/
H A Dmcrypt_ecb_error.phpt2 Test mcrypt_ecb() function : error conditions
17 echo "*** Testing mcrypt_ecb() : error conditions ***\n";
20 //Test mcrypt_ecb with one more than the expected number of arguments
28 var_dump( mcrypt_ecb($cipher, $key, $data, $mode, $iv, $extra_arg) );
30 // Testing mcrypt_ecb with one less than the expected number of arguments
35 var_dump( mcrypt_ecb($cipher, $key, $data) );
40 *** Testing mcrypt_ecb() : error conditions ***
42 -- Testing mcrypt_ecb() function with more than expected no. of arguments --
44 Warning: mcrypt_ecb() expects at most 5 parameters, 6 given in %s on line %d
47 -- Testing mcrypt_ecb() function with less than expected no. of arguments --
[all …]
H A Dmcrypt_ecb_variation1.phpt2 Test mcrypt_ecb() function : usage variation
17 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
124 *** Testing mcrypt_ecb() : usage variation ***
127 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
131 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
135 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
139 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
143 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
147 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
151 Error: 2 - mcrypt_ecb(): Module initialization failed, %s(%d)
[all …]
H A Dmcrypt_ecb_3des_encrypt.phpt2 Test mcrypt_ecb() function : basic functionality
11 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
17 echo "*** Testing mcrypt_ecb() : basic functionality ***\n";
42 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv)));
49 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv)));
54 *** Testing mcrypt_ecb() : basic functionality ***
69 Warning: mcrypt_ecb(): Size of key is too large for this algorithm in %s on line %d
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);
H A Dmcrypt_ecb_variation2.phpt2 Test mcrypt_ecb() function : usage variation
11 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
17 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
116 var_dump(bin2hex(mcrypt_ecb($cipher, $value, $data, $mode, $iv)));
124 *** Testing mcrypt_ecb() : usage variation ***
154 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d)
158 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d)
162 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d)
166 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d)
197 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
11 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
17 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
116 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $value, $mode, $iv)));
124 *** Testing mcrypt_ecb() : usage variation ***
154 Error: 2 - mcrypt_ecb() expects parameter 3 to be string, array given, %s(%d)
158 Error: 2 - mcrypt_ecb() expects parameter 3 to be string, array given, %s(%d)
162 Error: 2 - mcrypt_ecb() expects parameter 3 to be string, array given, %s(%d)
166 Error: 2 - mcrypt_ecb() expects parameter 3 to be string, array given, %s(%d)
197 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
11 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
17 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
116 var_dump(bin2hex( mcrypt_ecb($cipher, $key, $data, $mode, $value)));
124 *** Testing mcrypt_ecb() : usage variation ***
154 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, array given, %s(%d)
158 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, array given, %s(%d)
162 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, array given, %s(%d)
166 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, array given, %s(%d)
197 Error: 2 - mcrypt_ecb() expects parameter 5 to be string, object given, %s(%d)
[all …]
H A Dmcrypt_ecb_3des_decrypt.phpt11 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
17 echo "*** Testing mcrypt_ecb() : basic functionality ***\n";
53 special_var_dump(mcrypt_ecb($cipher, $keys[$i], base64_decode($data1[$i]), $mode, $iv));
60 special_var_dump(mcrypt_ecb($cipher, $key, base64_decode($data2[$i]), $mode, $ivs[$i]));
69 *** Testing mcrypt_ecb() : basic functionality ***
84 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
11 /* Prototype : string mcrypt_ecb(string cipher, string key, string data, int mode, string iv)
17 echo "*** Testing mcrypt_ecb() : usage variation ***\n";
116 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $value, $iv)));
124 *** 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.4/ext/mcrypt/
H A Dphp_mcrypt.h34 PHP_FUNCTION(mcrypt_ecb);
H A Dmcrypt.c241 PHP_FE(mcrypt_ecb, arginfo_mcrypt_ecb)
1313 PHP_FUNCTION(mcrypt_ecb) in PHP_FUNCTION() argument

Completed in 37 milliseconds