Home
last modified time | relevance | path

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

/PHP-7.0/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_ofb.phpt12 $enc_data = mcrypt_decrypt($cipher, $key, $secret, MCRYPT_MODE_OFB, $iv);
15 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_OFB, $iv)) . "\n";
18 mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_OFB);
23 Warning: mcrypt_decrypt(): Encryption mode requires an initialization vector of size 16 in %s on li…
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_cbc_3des_decrypt.phpt50 …special_var_dump(mcrypt_decrypt($cipher, $keys[$i], base64_decode($data1[$i]), MCRYPT_MODE_CBC, $i…
57 …special_var_dump(mcrypt_decrypt($cipher, $key, base64_decode($data2[$i]), MCRYPT_MODE_CBC, $ivs[$i…
70 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
75 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
83 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
90 Warning: mcrypt_decrypt(): Received initialization vector of size 4, but size 8 is required for thi…
98 Warning: mcrypt_decrypt(): Received initialization vector of size 9, but size 8 is required for thi…
H A Dmcrypt_cbc.phpt15 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC, $iv)) . "\n";
18 var_dump(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC));
24 Warning: mcrypt_decrypt(): Encryption mode requires an initialization vector of size 16 in %s on li…
H A Dmcrypt_cfb.phpt15 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CFB, $iv)) . "\n";
18 var_dump(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CFB));
23 Warning: mcrypt_decrypt(): Encryption mode requires an initialization vector of size 16 in %s on li…
H A Dmcrypt_ecb_3des_decrypt.phpt51 …special_var_dump(mcrypt_decrypt($cipher, $keys[$i], base64_decode($data1[$i]), MCRYPT_MODE_ECB, $i…
58 …special_var_dump(mcrypt_decrypt($cipher, $key, base64_decode($data2[$i]), MCRYPT_MODE_ECB, $ivs[$i…
71 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supp…
76 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 sup…
84 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 sup…
H A Dmcrypt_rijndael128_128BitKey.phpt16 …/* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string …
62 $res = mcrypt_decrypt($cipher, $key, $res, MCRYPT_MODE_CBC, $iv);
95 Warning: mcrypt_decrypt(): Received initialization vector of size 0, but size 16 is required for th…
100 Warning: mcrypt_decrypt(): Received initialization vector of size 0, but size 16 is required for th…
105 Warning: mcrypt_decrypt(): Received initialization vector of size 8, but size 16 is required for th…
113 Warning: mcrypt_decrypt(): Received initialization vector of size 17, but size 16 is required for t…
H A Dmcrypt_ecb.phpt15 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_ECB, $iv)) . "\n";
18 mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_ECB);
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 Dbug70625.phpt11 $plaintext = mcrypt_decrypt(MCRYPT_ARCFOUR, $key, $ciphertext, MCRYPT_MODE_STREAM);
/PHP-7.0/ext/mcrypt/
H A Dphp_mcrypt.h51 PHP_FUNCTION(mcrypt_decrypt);
H A Dmcrypt.c219 PHP_FE(mcrypt_decrypt, arginfo_mcrypt_decrypt)
1344 PHP_FUNCTION(mcrypt_decrypt) in PHP_FUNCTION() argument
/PHP-7.0/
H A DUPGRADING473 functions in favor of mcrypt_encrypt() and mcrypt_decrypt() with an

Completed in 28 milliseconds