/PHP-5.6/ext/mcrypt/tests/ |
H A D | mcrypt_ecb_error.phpt | 2 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 D | mcrypt_ecb_variation1.phpt | 2 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 D | mcrypt_ecb_variation2.phpt | 2 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 *** 165 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d) 169 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d) 173 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d) 177 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, array given, %s(%d) 217 Error: 2 - mcrypt_ecb() expects parameter 2 to be string, object given, %s(%d) [all …]
|
H A D | mcrypt_ecb.phpt | 2 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 D | mcrypt_ecb_3des_encrypt.phpt | 2 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 *** 62 Warning: mcrypt_ecb(): Key of size 8 not supported by this algorithm. Only keys of size 24 supporte… 67 Warning: mcrypt_ecb(): Key of size 20 not supported by this algorithm. Only keys of size 24 support… 75 Warning: mcrypt_ecb(): Key of size 26 not supported by this algorithm. Only keys of size 24 support…
|
H A D | mcrypt_ecb_3des_decrypt.phpt | 13 /* 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 *** 77 Warning: mcrypt_ecb(): Key of size 8 not supported by this algorithm. Only keys of size 24 supporte… 82 Warning: mcrypt_ecb(): Key of size 20 not supported by this algorithm. Only keys of size 24 support… 90 Warning: mcrypt_ecb(): Key of size 26 not supported by this algorithm. Only keys of size 24 support…
|
H A D | mcrypt_ecb_variation3.phpt | 2 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 D | mcrypt_ecb_variation5.phpt | 2 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 D | mcrypt_ecb_variation4.phpt | 2 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 D | mcrypt_rijndael128_256BitKey.phpt | 26 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
|
/PHP-5.6/ext/mcrypt/ |
H A D | php_mcrypt.h | 34 PHP_FUNCTION(mcrypt_ecb);
|
H A D | mcrypt.c | 242 PHP_DEP_FE(mcrypt_ecb, arginfo_mcrypt_ecb) 1367 PHP_FUNCTION(mcrypt_ecb) in PHP_FUNCTION() argument
|
/PHP-5.6/ |
H A D | NEWS | 3676 . mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw
|