Home
last modified time | relevance | path

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

/PHP-5.6/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_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 ***
163 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
167 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
171 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
175 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
215 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, object given, %s(%d)
[all …]
H A Dmcrypt_decrypt_variation5.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, $data, $mode, $value)));
124 *** Testing mcrypt_decrypt() : usage variation ***
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)
215 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, object given, %s(%d)
[all …]
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 ***
75 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
80 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
88 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
95 Warning: mcrypt_decrypt(): Received initialization vector of size 4, but size 8 is required for thi…
[all …]
H A Dmcrypt_decrypt.phpt2 mcrypt_decrypt
16 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, $mode, $iv)) . "\n";
19 var_dump(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC));
21 var_dump(mcrypt_decrypt(MCRYPT_BLOWFISH, "FooBar", $enc_data, MCRYPT_MODE_CBC, $iv));
25 Warning: mcrypt_decrypt(): Encryption mode requires an initialization vector of size 16 in %s on li…
28 Warning: mcrypt_decrypt(): Received initialization vector of size 16, but size 8 is required for th…
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 ***
74 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
79 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
87 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
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_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);
69 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of sizes 16, 2…
81 Warning: mcrypt_decrypt(): Key of size 30 not supported by this algorithm. Only keys of sizes 16, 2…
93 Warning: mcrypt_decrypt(): Key of size 40 not supported by this algorithm. Only keys of sizes 16, 2…
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);
122 Warning: mcrypt_decrypt(): Received initialization vector of size 0, but size 16 is required for th…
132 Warning: mcrypt_decrypt(): Received initialization vector of size 0, but size 16 is required for th…
142 Warning: mcrypt_decrypt(): Received initialization vector of size 8, but size 16 is required for th…
158 Warning: mcrypt_decrypt(): Received initialization vector of size 17, but size 16 is required for t…
H A Dbug70625.phpt11 $plaintext = mcrypt_decrypt(MCRYPT_ARCFOUR, $key, $ciphertext, MCRYPT_MODE_STREAM);
/PHP-5.6/ext/mcrypt/
H A Dphp_mcrypt.h48 PHP_FUNCTION(mcrypt_decrypt);
H A Dmcrypt.c255 PHP_FE(mcrypt_decrypt, arginfo_mcrypt_decrypt)
1351 PHP_FUNCTION(mcrypt_decrypt) in PHP_FUNCTION() argument
/PHP-5.6/
H A DUPGRADING60 The mcrypt_encrypt(), mcrypt_decrypt() and mcrypt_{MODE}() functions no
H A DNEWS2232 in mcrypt_encrypt, mcrypt_decrypt and the deprecated mode functions.

Completed in 69 milliseconds