Home
last modified time | relevance | path

Searched refs:mcrypt_decrypt (Results 1 – 13 of 13) sorted by relevance

/PHP-5.5/ext/mcrypt/tests/
H A Dmcrypt_decrypt_error.phpt2 Test mcrypt_decrypt() function : error conditions
17 echo "*** Testing mcrypt_decrypt() : error conditions ***\n";
20 //Test mcrypt_decrypt with one more than the expected number of arguments
28 var_dump( mcrypt_decrypt($cipher, $key, $data, $mode, $iv, $extra_arg) );
30 // Testing mcrypt_decrypt with one less than the expected number of arguments
35 var_dump( mcrypt_decrypt($cipher, $key, $data) );
40 *** Testing mcrypt_decrypt() : error conditions ***
42 -- Testing mcrypt_decrypt() function with more than expected no. of arguments --
44 Warning: mcrypt_decrypt() expects at most 5 parameters, 6 given in %s on line %d
47 -- Testing mcrypt_decrypt() function with less than expected no. of arguments --
[all …]
H A Dmcrypt_decrypt_variation1.phpt2 Test mcrypt_decrypt() function : usage variation
17 echo "*** Testing mcrypt_decrypt() : usage variation ***\n";
124 *** Testing mcrypt_decrypt() : usage variation ***
127 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
131 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
135 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
139 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
143 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
147 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
151 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
[all …]
H A Dmcrypt_decrypt_variation4.phpt2 Test mcrypt_decrypt() function : usage variation
17 echo "*** Testing mcrypt_decrypt() : usage variation ***\n";
124 *** Testing mcrypt_decrypt() : usage variation ***
127 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
131 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
135 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
139 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
143 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
147 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
151 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
[all …]
H A Dmcrypt_decrypt_variation5.phpt2 Test mcrypt_decrypt() function : usage variation
17 echo "*** Testing mcrypt_decrypt() : usage variation ***\n";
116 var_dump(bin2hex(mcrypt_decrypt($cipher, $key, $data, $mode, $value)));
124 *** Testing mcrypt_decrypt() : usage variation ***
127 Error: 2 - mcrypt_decrypt(): The IV parameter must be as long as the blocksize, %s(%d)
131 Error: 2 - mcrypt_decrypt(): The IV parameter must be as long as the blocksize, %s(%d)
163 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, array given, %s(%d)
167 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, array given, %s(%d)
171 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, array given, %s(%d)
175 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, array given, %s(%d)
[all …]
H A Dmcrypt_decrypt.phpt2 mcrypt_decrypt
16 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, $mode, $iv)) . "\n";
19 mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC);
21 var_dump(strpos(mcrypt_decrypt(MCRYPT_BLOWFISH, "FooBar", $enc_data, MCRYPT_MODE_CBC, $iv), "Testfe…
25 Warning: mcrypt_decrypt(): Attempt to use an empty IV, which is NOT recommend in %s on line %d
27 Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize in %s on line %d
H A Dmcrypt_decrypt_3des_cbc.phpt2 Test mcrypt_decrypt() function : basic functionality
11 /* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string i…
17 echo "*** Testing mcrypt_decrypt() : basic functionality ***\n";
53 special_var_dump(mcrypt_decrypt($cipher, $keys[$i], base64_decode($data1[$i]), $mode, $iv));
60 special_var_dump(mcrypt_decrypt($cipher, $key, base64_decode($data2[$i]), $mode, $ivs[$i]));
69 *** Testing mcrypt_decrypt() : basic functionality ***
84 Warning: mcrypt_decrypt(): Size of key is too large for this algorithm in %s on line %d
91 Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize in %s on line %d
99 Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize in %s on line %d
H A Dmcrypt_decrypt_3des_ecb.phpt2 Test mcrypt_decrypt() function : basic functionality
11 /* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string i…
17 echo "*** Testing mcrypt_decrypt() : basic functionality ***\n";
52 special_var_dump(mcrypt_decrypt($cipher, $keys[$i], base64_decode($data1[$i]), $mode));
59 special_var_dump(mcrypt_decrypt($cipher, $key, base64_decode($data2[$i]), $mode, $ivs[$i]));
68 *** Testing mcrypt_decrypt() : basic functionality ***
83 Warning: mcrypt_decrypt(): Size of key is too large for this algorithm in %s on line %d
H A Dmcrypt_decrypt_variation2.phpt2 Test mcrypt_decrypt() function : usage variation
11 /* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string i…
17 echo "*** Testing mcrypt_decrypt() : usage variation ***\n";
116 var_dump( bin2hex(mcrypt_decrypt($cipher, $value, $data, $mode, $iv)));
124 *** Testing mcrypt_decrypt() : usage variation ***
154 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
158 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
162 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
166 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
197 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, object given, %s(%d)
[all …]
H A Dmcrypt_decrypt_variation3.phpt2 Test mcrypt_decrypt() function : usage variation
11 /* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string i…
17 echo "*** Testing mcrypt_decrypt() : usage variation ***\n";
116 var_dump(bin2hex(mcrypt_decrypt($cipher, $key, $value, $mode, $iv)));
124 *** Testing mcrypt_decrypt() : usage variation ***
154 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, array given, %s(%d)
158 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, array given, %s(%d)
162 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, array given, %s(%d)
166 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, array given, %s(%d)
197 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, object given, %s(%d)
[all …]
H A Dmcrypt_rijndael128_128BitKey.phpt16 …/* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string …
66 $res = mcrypt_decrypt($cipher, $key, $res, MCRYPT_MODE_CBC, $iv);
110 Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize in %s on line %d
120 Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize in %s on line %d
130 Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize in %s on line %d
146 Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize in %s on line %d
H A Dmcrypt_rijndael128_256BitKey.phpt16 …/* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string …
54 $res = mcrypt_decrypt($cipher, $key, $res, MCRYPT_MODE_CBC, $iv);
85 Warning: mcrypt_decrypt(): Size of key is too large for this algorithm in %s on line %d
/PHP-5.5/ext/mcrypt/
H A Dphp_mcrypt.h48 PHP_FUNCTION(mcrypt_decrypt);
H A Dmcrypt.c254 PHP_FE(mcrypt_decrypt, arginfo_mcrypt_decrypt)
1316 PHP_FUNCTION(mcrypt_decrypt) in PHP_FUNCTION() argument

Completed in 21 milliseconds