]> granicus.if.org Git - php/commitdiff
Implement RFC: Deprecate (then Remove) Mcrypt
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 10 Jul 2016 17:53:59 +0000 (19:53 +0200)
committerJulien Pauli <jpauli@php.net>
Mon, 11 Jul 2016 11:17:44 +0000 (13:17 +0200)
<https://wiki.php.net/rfc/mcrypt-viking-funeral> has already been accepted,
so we implement it.

61 files changed:
ext/mcrypt/mcrypt.c
ext/mcrypt/tests/blowfish.phpt
ext/mcrypt/tests/bug35496.phpt
ext/mcrypt/tests/bug37595.phpt
ext/mcrypt/tests/bug41252.phpt
ext/mcrypt/tests/bug46010.phpt
ext/mcrypt/tests/bug49738.phpt
ext/mcrypt/tests/bug55169.phpt
ext/mcrypt/tests/bug70625.phpt
ext/mcrypt/tests/mcrypt_cbc.phpt
ext/mcrypt/tests/mcrypt_cbc_3des_decrypt.phpt
ext/mcrypt/tests/mcrypt_cbc_3des_encrypt.phpt
ext/mcrypt/tests/mcrypt_cfb.phpt
ext/mcrypt/tests/mcrypt_create_iv.phpt
ext/mcrypt/tests/mcrypt_decrypt.phpt
ext/mcrypt/tests/mcrypt_decrypt_3des_cbc.phpt
ext/mcrypt/tests/mcrypt_decrypt_3des_ecb.phpt
ext/mcrypt/tests/mcrypt_decrypt_error.phpt
ext/mcrypt/tests/mcrypt_decrypt_variation1.phpt
ext/mcrypt/tests/mcrypt_decrypt_variation2.phpt
ext/mcrypt/tests/mcrypt_decrypt_variation3.phpt
ext/mcrypt/tests/mcrypt_decrypt_variation4.phpt
ext/mcrypt/tests/mcrypt_decrypt_variation5.phpt
ext/mcrypt/tests/mcrypt_ecb.phpt
ext/mcrypt/tests/mcrypt_ecb_3des_decrypt.phpt
ext/mcrypt/tests/mcrypt_ecb_3des_encrypt.phpt
ext/mcrypt/tests/mcrypt_enc_get_algorithms_name.phpt
ext/mcrypt/tests/mcrypt_enc_get_block_size.phpt
ext/mcrypt/tests/mcrypt_enc_get_iv_size.phpt
ext/mcrypt/tests/mcrypt_enc_get_key_size.phpt
ext/mcrypt/tests/mcrypt_enc_get_mode_name.phpt
ext/mcrypt/tests/mcrypt_enc_get_supported_key_sizes.phpt
ext/mcrypt/tests/mcrypt_enc_is_block_algorithm.phpt
ext/mcrypt/tests/mcrypt_enc_is_block_algorithm_mode.phpt
ext/mcrypt/tests/mcrypt_enc_is_block_mode.phpt
ext/mcrypt/tests/mcrypt_enc_self_test.phpt
ext/mcrypt/tests/mcrypt_encrypt_3des_cbc.phpt
ext/mcrypt/tests/mcrypt_encrypt_3des_ecb.phpt
ext/mcrypt/tests/mcrypt_encrypt_error.phpt
ext/mcrypt/tests/mcrypt_encrypt_variation1.phpt
ext/mcrypt/tests/mcrypt_encrypt_variation2.phpt
ext/mcrypt/tests/mcrypt_encrypt_variation3.phpt
ext/mcrypt/tests/mcrypt_encrypt_variation4.phpt
ext/mcrypt/tests/mcrypt_encrypt_variation5.phpt
ext/mcrypt/tests/mcrypt_get_block_size.phpt
ext/mcrypt/tests/mcrypt_get_cipher_name.phpt
ext/mcrypt/tests/mcrypt_get_iv_size.phpt
ext/mcrypt/tests/mcrypt_get_key_size.phpt
ext/mcrypt/tests/mcrypt_list_algorithms.phpt
ext/mcrypt/tests/mcrypt_list_modes.phpt
ext/mcrypt/tests/mcrypt_module_get_algo_block_size.phpt
ext/mcrypt/tests/mcrypt_module_get_algo_key_size.phpt
ext/mcrypt/tests/mcrypt_module_get_supported_key_sizes.phpt
ext/mcrypt/tests/mcrypt_module_is_block_algorithm.phpt
ext/mcrypt/tests/mcrypt_module_is_block_algorithm_mode.phpt
ext/mcrypt/tests/mcrypt_module_is_block_mode.phpt
ext/mcrypt/tests/mcrypt_module_open.phpt
ext/mcrypt/tests/mcrypt_module_self_test.phpt
ext/mcrypt/tests/mcrypt_ofb.phpt
ext/mcrypt/tests/mcrypt_rijndael128_128BitKey.phpt
ext/mcrypt/tests/mcrypt_rijndael128_256BitKey.phpt

index 86e70d51fb318e636635cfe392baaea38cc5296d..bc2de1f82d1eac10a15fa113f369d998717acd5d 100644 (file)
@@ -334,6 +334,9 @@ typedef enum {
                RETURN_FALSE;   \
        }       \
 
+#define PHP_MCRYPT_DEPRECATED_WARNING php_error_docref(NULL, E_DEPRECATED, \
+       "The mcrypt extension is deprecated and will be removed in the future: use openssl instead");
+
 PHP_INI_BEGIN()
        STD_PHP_INI_ENTRY("mcrypt.algorithms_dir", NULL, PHP_INI_ALL, OnUpdateString, algorithms_dir, zend_mcrypt_globals, mcrypt_globals)
        STD_PHP_INI_ENTRY("mcrypt.modes_dir",      NULL, PHP_INI_ALL, OnUpdateString, modes_dir, zend_mcrypt_globals, mcrypt_globals)
@@ -505,6 +508,8 @@ PHP_FUNCTION(mcrypt_module_open)
        MCRYPT td;
        php_mcrypt *pm;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        if (zend_parse_parameters (ZEND_NUM_ARGS(), "ssss",
                &cipher, &cipher_len, &cipher_dir, &cipher_dir_len,
                &mode,   &mode_len,   &mode_dir,   &mode_dir_len)) {
@@ -542,6 +547,8 @@ PHP_FUNCTION(mcrypt_generic_init)
        php_mcrypt *pm;
        int result = 0;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &mcryptind, &key, &key_len, &iv, &iv_len) == FAILURE) {
                return;
        }
@@ -619,6 +626,8 @@ PHP_FUNCTION(mcrypt_generic)
        zend_string* data_str;
        int block_size, data_size;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len) == FAILURE) {
                return;
        }
@@ -669,6 +678,8 @@ PHP_FUNCTION(mdecrypt_generic)
        char* data_s;
        int block_size, data_size;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len) == FAILURE) {
                return;
        }
@@ -716,6 +727,7 @@ PHP_FUNCTION(mcrypt_enc_get_supported_key_sizes)
        int *key_sizes;
 
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
        array_init(return_value);
 
        key_sizes = mcrypt_enc_get_supported_key_sizes(pm->td, &count);
@@ -733,6 +745,7 @@ PHP_FUNCTION(mcrypt_enc_get_supported_key_sizes)
 PHP_FUNCTION(mcrypt_enc_self_test)
 {
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
        RETURN_LONG(mcrypt_enc_self_test(pm->td));
 }
 /* }}} */
@@ -742,6 +755,7 @@ PHP_FUNCTION(mcrypt_enc_self_test)
 PHP_FUNCTION(mcrypt_module_close)
 {
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
        zend_list_close(Z_RES_P(mcryptind));
        RETURN_TRUE;
 }
@@ -752,6 +766,7 @@ PHP_FUNCTION(mcrypt_module_close)
 PHP_FUNCTION(mcrypt_generic_deinit)
 {
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        if (mcrypt_generic_deinit(pm->td) < 0) {
                php_error_docref(NULL, E_WARNING, "Could not terminate encryption specifier");
@@ -767,6 +782,7 @@ PHP_FUNCTION(mcrypt_generic_deinit)
 PHP_FUNCTION(mcrypt_enc_is_block_algorithm_mode)
 {
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        if (mcrypt_enc_is_block_algorithm_mode(pm->td) == 1) {
                RETURN_TRUE
@@ -781,6 +797,7 @@ PHP_FUNCTION(mcrypt_enc_is_block_algorithm_mode)
 PHP_FUNCTION(mcrypt_enc_is_block_algorithm)
 {
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        if (mcrypt_enc_is_block_algorithm(pm->td) == 1) {
                RETURN_TRUE
@@ -795,6 +812,7 @@ PHP_FUNCTION(mcrypt_enc_is_block_algorithm)
 PHP_FUNCTION(mcrypt_enc_is_block_mode)
 {
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        if (mcrypt_enc_is_block_mode(pm->td) == 1) {
                RETURN_TRUE
@@ -809,6 +827,7 @@ PHP_FUNCTION(mcrypt_enc_is_block_mode)
 PHP_FUNCTION(mcrypt_enc_get_block_size)
 {
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
        RETURN_LONG(mcrypt_enc_get_block_size(pm->td));
 }
 /* }}} */
@@ -818,6 +837,7 @@ PHP_FUNCTION(mcrypt_enc_get_block_size)
 PHP_FUNCTION(mcrypt_enc_get_key_size)
 {
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
        RETURN_LONG(mcrypt_enc_get_key_size(pm->td));
 }
 /* }}} */
@@ -827,6 +847,7 @@ PHP_FUNCTION(mcrypt_enc_get_key_size)
 PHP_FUNCTION(mcrypt_enc_get_iv_size)
 {
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
        RETURN_LONG(mcrypt_enc_get_iv_size(pm->td));
 }
 /* }}} */
@@ -837,6 +858,7 @@ PHP_FUNCTION(mcrypt_enc_get_algorithms_name)
 {
        char *name;
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        name = mcrypt_enc_get_algorithms_name(pm->td);
        RETVAL_STRING(name);
@@ -850,6 +872,7 @@ PHP_FUNCTION(mcrypt_enc_get_modes_name)
 {
        char *name;
        MCRYPT_GET_TD_ARG
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        name = mcrypt_enc_get_modes_name(pm->td);
        RETVAL_STRING(name);
@@ -862,6 +885,7 @@ PHP_FUNCTION(mcrypt_enc_get_modes_name)
 PHP_FUNCTION(mcrypt_module_self_test)
 {
        MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir);
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        if (mcrypt_module_self_test(module, dir) == 0) {
                RETURN_TRUE;
@@ -876,6 +900,7 @@ PHP_FUNCTION(mcrypt_module_self_test)
 PHP_FUNCTION(mcrypt_module_is_block_algorithm_mode)
 {
        MCRYPT_GET_MODE_DIR_ARGS(modes_dir)
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        if (mcrypt_module_is_block_algorithm_mode(module, dir) == 1) {
                RETURN_TRUE;
@@ -890,6 +915,7 @@ PHP_FUNCTION(mcrypt_module_is_block_algorithm_mode)
 PHP_FUNCTION(mcrypt_module_is_block_algorithm)
 {
        MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir)
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        if (mcrypt_module_is_block_algorithm(module, dir) == 1) {
                RETURN_TRUE;
@@ -904,6 +930,7 @@ PHP_FUNCTION(mcrypt_module_is_block_algorithm)
 PHP_FUNCTION(mcrypt_module_is_block_mode)
 {
        MCRYPT_GET_MODE_DIR_ARGS(modes_dir)
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        if (mcrypt_module_is_block_mode(module, dir) == 1) {
                RETURN_TRUE;
@@ -918,6 +945,7 @@ PHP_FUNCTION(mcrypt_module_is_block_mode)
 PHP_FUNCTION(mcrypt_module_get_algo_block_size)
 {
        MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir)
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        RETURN_LONG(mcrypt_module_get_algo_block_size(module, dir));
 }
@@ -928,6 +956,7 @@ PHP_FUNCTION(mcrypt_module_get_algo_block_size)
 PHP_FUNCTION(mcrypt_module_get_algo_key_size)
 {
        MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir);
+       PHP_MCRYPT_DEPRECATED_WARNING
 
        RETURN_LONG(mcrypt_module_get_algo_key_size(module, dir));
 }
@@ -941,6 +970,7 @@ PHP_FUNCTION(mcrypt_module_get_supported_key_sizes)
        int *key_sizes;
 
        MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir)
+       PHP_MCRYPT_DEPRECATED_WARNING
        array_init(return_value);
 
        key_sizes = mcrypt_module_get_algo_supported_key_sizes(module, dir, &count);
@@ -961,6 +991,8 @@ PHP_FUNCTION(mcrypt_list_algorithms)
        size_t   lib_dir_len;
        int   i, count;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s",
                &lib_dir, &lib_dir_len) == FAILURE) {
                return;
@@ -988,6 +1020,8 @@ PHP_FUNCTION(mcrypt_list_modes)
        size_t   lib_dir_len;
        int   i, count;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s",
                &lib_dir, &lib_dir_len) == FAILURE) {
                return;
@@ -1017,6 +1051,8 @@ PHP_FUNCTION(mcrypt_get_key_size)
        char *module_dir_string;
        MCRYPT td;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        MCRYPT_GET_INI
 
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss",
@@ -1046,6 +1082,8 @@ PHP_FUNCTION(mcrypt_get_block_size)
        char *module_dir_string;
        MCRYPT td;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        MCRYPT_GET_INI
 
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss",
@@ -1075,6 +1113,8 @@ PHP_FUNCTION(mcrypt_get_iv_size)
        char *module_dir_string;
        MCRYPT td;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        MCRYPT_GET_INI
 
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss",
@@ -1104,6 +1144,8 @@ PHP_FUNCTION(mcrypt_get_cipher_name)
        size_t   cipher_len;
        MCRYPT td;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        MCRYPT_GET_INI
 
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "s",
@@ -1319,6 +1361,8 @@ PHP_FUNCTION(mcrypt_encrypt)
        char *cipher, *key, *data, *mode, *iv = NULL;
        size_t cipher_len, key_len, data_len, mode_len, iv_len = 0;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "ssss|s", &cipher, &cipher_len,
                &key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) {
                return;
@@ -1335,6 +1379,8 @@ PHP_FUNCTION(mcrypt_decrypt)
        char *cipher, *key, *data, *mode, *iv = NULL;
        size_t cipher_len, key_len, data_len, mode_len, iv_len = 0;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "ssss|s", &cipher, &cipher_len,
                &key, &key_len, &data, &data_len, &mode, &mode_len, &iv, &iv_len) == FAILURE) {
                return;
@@ -1353,6 +1399,8 @@ PHP_FUNCTION(mcrypt_create_iv)
        zend_long size;
        int n = 0;
 
+       PHP_MCRYPT_DEPRECATED_WARNING
+
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &size, &source) == FAILURE) {
                return;
        }
index a133091d78ef1f44785051c40234692034dd793e..29e6e04bbe39457795777d326ca7979df9984330 100644 (file)
@@ -54,38 +54,178 @@ echo "\n", $guess, "\n";
 ?>
 --EXPECTF--
 key               plain             crypt             guess             stat
-0000000000000000  0000000000000000  4ef997456198dd78  4ef997456198dd78  OK
-FFFFFFFFFFFFFFFF  FFFFFFFFFFFFFFFF  51866fd5b85ecb8a  51866fd5b85ecb8a  OK
-3000000000000000  1000000000000001  7d856f9a613063f2  7d856f9a613063f2  OK
-1111111111111111  1111111111111111  2466dd878b963c9d  2466dd878b963c9d  OK
-0123456789ABCDEF  1111111111111111  61f9c3802281b096  61f9c3802281b096  OK
-1111111111111111  0123456789ABCDEF  7d0cc630afda1ec7  7d0cc630afda1ec7  OK
-FEDCBA9876543210  0123456789ABCDEF  0aceab0fc6a0a28d  0aceab0fc6a0a28d  OK
-7CA110454A1A6E57  01A1D6D039776742  59c68245eb05282b  59c68245eb05282b  OK
-0131D9619DC1376E  5CD54CA83DEF57DA  b1b8cc0b250f09a0  b1b8cc0b250f09a0  OK
-07A1133E4A0B2686  0248D43806F67172  1730e5778bea1da4  1730e5778bea1da4  OK
-3849674C2602319E  51454B582DDF440A  a25e7856cf2651eb  a25e7856cf2651eb  OK
-04B915BA43FEB5B6  42FD443059577FA2  353882b109ce8f1a  353882b109ce8f1a  OK
-0113B970FD34F2CE  059B5E0851CF143A  48f4d0884c379918  48f4d0884c379918  OK
-0170F175468FB5E6  0756D8E0774761D2  432193b78951fc98  432193b78951fc98  OK
-43297FAD38E373FE  762514B829BF486A  13f04154d69d1ae5  13f04154d69d1ae5  OK
-07A7137045DA2A16  3BDD119049372802  2eedda93ffd39c79  2eedda93ffd39c79  OK
-04689104C2FD3B2F  26955F6835AF609A  d887e0393c2da6e3  d887e0393c2da6e3  OK
-37D06BB516CB7546  164D5E404F275232  5f99d04f5b163969  5f99d04f5b163969  OK
-1F08260D1AC2465E  6B056E18759F5CCA  4a057a3b24d3977b  4a057a3b24d3977b  OK
-584023641ABA6176  004BD6EF09176062  452031c1e4fada8e  452031c1e4fada8e  OK
-025816164629B007  480D39006EE762F2  7555ae39f59b87bd  7555ae39f59b87bd  OK
-49793EBC79B3258F  437540C8698F3CFA  53c55f9cb49fc019  53c55f9cb49fc019  OK
-4FB05E1515AB73A7  072D43A077075292  7a8e7bfa937e89a3  7a8e7bfa937e89a3  OK
-49E95D6D4CA229BF  02FE55778117F12A  cf9c5d7a4986adb5  cf9c5d7a4986adb5  OK
-018310DC409B26D6  1D9D5C5018F728C2  d1abb290658bc778  d1abb290658bc778  OK
-1C587F1C13924FEF  305532286D6F295A  55cb3774d13ef201  55cb3774d13ef201  OK
-0101010101010101  0123456789ABCDEF  fa34ec4847b268b2  fa34ec4847b268b2  OK
-1F1F1F1F0E0E0E0E  0123456789ABCDEF  a790795108ea3cae  a790795108ea3cae  OK
-E0FEE0FEF1FEF1FE  0123456789ABCDEF  c39e072d9fac631d  c39e072d9fac631d  OK
-0000000000000000  FFFFFFFFFFFFFFFF  014933e0cdaff6e4  014933e0cdaff6e4  OK
-FFFFFFFFFFFFFFFF  0000000000000000  f21e9a77b71c49bc  f21e9a77b71c49bc  OK
-0123456789ABCDEF  0000000000000000  245946885754369a  245946885754369a  OK
-FEDCBA9876543210  FFFFFFFFFFFFFFFF  6b5c5a9c5d9e0a5a  6b5c5a9c5d9e0a5a  OK
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+0000000000000000  0000000000000000  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+4ef997456198dd78  4ef997456198dd78  OK
+FFFFFFFFFFFFFFFF  FFFFFFFFFFFFFFFF  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+51866fd5b85ecb8a  51866fd5b85ecb8a  OK
+3000000000000000  1000000000000001  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+7d856f9a613063f2  7d856f9a613063f2  OK
+1111111111111111  1111111111111111  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+2466dd878b963c9d  2466dd878b963c9d  OK
+0123456789ABCDEF  1111111111111111  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+61f9c3802281b096  61f9c3802281b096  OK
+1111111111111111  0123456789ABCDEF  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+7d0cc630afda1ec7  7d0cc630afda1ec7  OK
+FEDCBA9876543210  0123456789ABCDEF  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+0aceab0fc6a0a28d  0aceab0fc6a0a28d  OK
+7CA110454A1A6E57  01A1D6D039776742  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+59c68245eb05282b  59c68245eb05282b  OK
+0131D9619DC1376E  5CD54CA83DEF57DA  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+b1b8cc0b250f09a0  b1b8cc0b250f09a0  OK
+07A1133E4A0B2686  0248D43806F67172  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+1730e5778bea1da4  1730e5778bea1da4  OK
+3849674C2602319E  51454B582DDF440A  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+a25e7856cf2651eb  a25e7856cf2651eb  OK
+04B915BA43FEB5B6  42FD443059577FA2  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+353882b109ce8f1a  353882b109ce8f1a  OK
+0113B970FD34F2CE  059B5E0851CF143A  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+48f4d0884c379918  48f4d0884c379918  OK
+0170F175468FB5E6  0756D8E0774761D2  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+432193b78951fc98  432193b78951fc98  OK
+43297FAD38E373FE  762514B829BF486A  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+13f04154d69d1ae5  13f04154d69d1ae5  OK
+07A7137045DA2A16  3BDD119049372802  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+2eedda93ffd39c79  2eedda93ffd39c79  OK
+04689104C2FD3B2F  26955F6835AF609A  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+d887e0393c2da6e3  d887e0393c2da6e3  OK
+37D06BB516CB7546  164D5E404F275232  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+5f99d04f5b163969  5f99d04f5b163969  OK
+1F08260D1AC2465E  6B056E18759F5CCA  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+4a057a3b24d3977b  4a057a3b24d3977b  OK
+584023641ABA6176  004BD6EF09176062  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+452031c1e4fada8e  452031c1e4fada8e  OK
+025816164629B007  480D39006EE762F2  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+7555ae39f59b87bd  7555ae39f59b87bd  OK
+49793EBC79B3258F  437540C8698F3CFA  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+53c55f9cb49fc019  53c55f9cb49fc019  OK
+4FB05E1515AB73A7  072D43A077075292  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+7a8e7bfa937e89a3  7a8e7bfa937e89a3  OK
+49E95D6D4CA229BF  02FE55778117F12A  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+cf9c5d7a4986adb5  cf9c5d7a4986adb5  OK
+018310DC409B26D6  1D9D5C5018F728C2  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+d1abb290658bc778  d1abb290658bc778  OK
+1C587F1C13924FEF  305532286D6F295A  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+55cb3774d13ef201  55cb3774d13ef201  OK
+0101010101010101  0123456789ABCDEF  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+fa34ec4847b268b2  fa34ec4847b268b2  OK
+1F1F1F1F0E0E0E0E  0123456789ABCDEF  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+a790795108ea3cae  a790795108ea3cae  OK
+E0FEE0FEF1FEF1FE  0123456789ABCDEF  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+c39e072d9fac631d  c39e072d9fac631d  OK
+0000000000000000  FFFFFFFFFFFFFFFF  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+014933e0cdaff6e4  014933e0cdaff6e4  OK
+FFFFFFFFFFFFFFFF  0000000000000000  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+f21e9a77b71c49bc  f21e9a77b71c49bc  OK
+0123456789ABCDEF  0000000000000000  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+245946885754369a  245946885754369a  OK
+FEDCBA9876543210  FFFFFFFFFFFFFFFF  
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+6b5c5a9c5d9e0a5a  6b5c5a9c5d9e0a5a  OK
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%eblowfish.php on line %d
 
 6b77b4d63006dee605b156e27403979358deb9e7154616d959f1652bd5ff92cc
index 3add65e02d1eb19d134b3651a9273b94fd1c82fb..195ed82a7916321c909606debe2b3d97a50502ae 100644 (file)
@@ -9,6 +9,12 @@ mcrypt_generic($td, "foobar");
 mdecrypt_generic($td, "baz");
 ?>
 --EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug35496.php on line 2
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug35496.php on line 3
+
 Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug35496.php on line 3
 
+Deprecated: mdecrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug35496.php on line 4
+
 Warning: mdecrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug35496.php on line 4
index 0530f3e8139638e46012a41cce0f088267c0c90e..f88832727f58fb0890b772734cda3e194941fc27 100644 (file)
Binary files a/ext/mcrypt/tests/bug37595.phpt and b/ext/mcrypt/tests/bug37595.phpt differ
index 481fc54984a557110726969b0870535455fc4428..df97bba473be56bcf94dfcecb1be9074f96e9ad2 100644 (file)
@@ -9,5 +9,9 @@ echo mcrypt_generic($td,'aaaaaaaa');
 print "I'm alive!\n";
 ?>
 --EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug41252.php on line 2
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug41252.php on line 3
+
 Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug41252.php on line 3
 I'm alive!
index 1f0fe40a3d757237bc6d7b36724edac8cb3a2021..7f8fa80bbbbad1399419ac6d67cd4e2ec81e7e46 100644 (file)
@@ -12,6 +12,11 @@ var_dump(bin2hex(mcrypt_encrypt(MCRYPT_TRIPLEDES, $key, "data", MCRYPT_MODE_ECB,
 
 ?>
 --EXPECTF--
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug46010.php on line 4
 string(16) "f7a2ce11d4002294"
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug46010.php on line 5
 string(16) "f7a2ce11d4002294"
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug46010.php on line 6
 string(16) "f7a2ce11d4002294"
index 8f01bec4969912a0e4b59abe8b83558a10beec78..9023d78809b8cf26d4f6d5530f11035df9bf5063 100644 (file)
@@ -10,4 +10,12 @@ Bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes)
    echo mcrypt_generic($td, 'aaaaaaaa');
 ?>
 --EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug49738.php on line 2
+
+Deprecated: mcrypt_generic_init(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug49738.php on line 3
+
+Deprecated: mcrypt_generic_deinit(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug49738.php on line 4
+
+Deprecated: mcrypt_generic(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug49738.php on line 5
+
 Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug49738.php on line 5
index bebcd675c868747f03db34c0e06074ce01f16c27..3932a2cfd1440aec57602d594a8d00249cf548af 100644 (file)
@@ -16,29 +16,43 @@ for( $i=1; $i<=64; $i = $i*2 ){
 ?>\r
 --EXPECTF--\r
 Input: 1\r
+\r
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug55169.php on line 4\r
  Length: 1\r
  Hex: %x\r
 \r
 Input: 2\r
+\r
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug55169.php on line 4\r
  Length: 2\r
  Hex: %x\r
 \r
 Input: 4\r
+\r
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug55169.php on line 4\r
  Length: 4\r
  Hex: %x\r
 \r
 Input: 8\r
+\r
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug55169.php on line 4\r
  Length: 8\r
  Hex: %x\r
 \r
 Input: 16\r
+\r
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug55169.php on line 4\r
  Length: 16\r
  Hex: %x\r
 \r
 Input: 32\r
+\r
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug55169.php on line 4\r
  Length: 32\r
  Hex: %x\r
 \r
 Input: 64\r
+\r
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug55169.php on line 4\r
  Length: 64\r
  Hex: %x\r
index e9c0de0be37688883f16e143df85373f2c3b3e4c..83af940a4f0b7be59e70a80000fdb8c76983c143 100644 (file)
@@ -12,6 +12,9 @@ $plaintext = mcrypt_decrypt(MCRYPT_ARCFOUR, $key, $ciphertext, MCRYPT_MODE_STREA
 var_dump($plaintext);
 
 ?>
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug70625.php on line 4
 string(14) "d5c9a57023d0f1"
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%ebug70625.php on line 6
 string(7) "payload"
index 310c4a88bd6f2b4173e701cedf4a3853ff2b7e3c..d5d17320d73e459f532106e518ebdc96176c1d5a 100644 (file)
@@ -19,7 +19,16 @@ var_dump(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC));
 
 ?>
 --EXPECTF--
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc.php on line 6
+
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc.php on line 6
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc.php on line 7
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc.php on line 10
 PHP Testfest 2008
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc.php on line 13
+
 Warning: mcrypt_decrypt(): Encryption mode requires an initialization vector of size 16 in %s on line %d
 bool(false)
index 939cc57196b869bf687663d36cd0e08aad44c0f1..7c523e850e44210efbee8b5ae3ed1924fd7e05f7 100644 (file)
@@ -67,19 +67,27 @@ function special_var_dump($str) {
 
 key length=8
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_decrypt.php on line 41
+
 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=20
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_decrypt.php on line 41
+
 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=24
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_decrypt.php on line 41
 string(32) "736563726574206d6573736167650000"
 
 key length=26
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_decrypt.php on line 41
+
 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
@@ -87,14 +95,20 @@ string(0) ""
 
 iv length=4
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_decrypt.php on line 48
+
 Warning: mcrypt_decrypt(): Received initialization vector of size 4, but size 8 is required for this encryption mode in %s on line %d
 string(0) ""
 
 iv length=8
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_decrypt.php on line 48
 string(32) "659ec947f4dc3a3b9c50de744598d3c8"
 
 iv length=9
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_decrypt.php on line 48
+
 Warning: mcrypt_decrypt(): Received initialization vector of size 9, but size 8 is required for this encryption mode in %s on line %d
 string(0) ""
 ===DONE===
index ef662cc383d0215ff2f6f3d8da546fb6acf1af6a..690b0389ddafe39a63b2a5d207ba2918973594ca 100644 (file)
@@ -50,19 +50,27 @@ foreach ($ivs as $iv) {
 
 key length=8
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_encrypt.php on line 28
+
 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=20
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_encrypt.php on line 28
+
 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=24
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_encrypt.php on line 28
 string(112) "b85e21072239d60c63a80e7c9ae493cb741a1cd407e52f451c5f43a0d103f55a7b62617eb2e44213c2d44462d388bc0b8f119384b12c84ac"
 
 key length=26
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_encrypt.php on line 28
+
 Warning: mcrypt_encrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
@@ -70,14 +78,20 @@ string(0) ""
 
 iv length=4
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_encrypt.php on line 35
+
 Warning: mcrypt_encrypt(): Received initialization vector of size 4, but size 8 is required for this encryption mode in %s on line %d
 string(0) ""
 
 iv length=8
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_encrypt.php on line 35
 string(112) "b85e21072239d60c63a80e7c9ae493cb741a1cd407e52f451c5f43a0d103f55a7b62617eb2e44213c2d44462d388bc0b8f119384b12c84ac"
 
 iv length=9
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cbc_3des_encrypt.php on line 35
+
 Warning: mcrypt_encrypt(): Received initialization vector of size 9, but size 8 is required for this encryption mode in %s on line %d
 string(0) ""
 ===DONE===
index ebbbea7c93a0ef23a706e4fb942f92e9b94e5e01..6996d1529c50777bec150dabb5773a40077e2502 100644 (file)
@@ -18,7 +18,16 @@ echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CFB, $iv)) . "\n"
 var_dump(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CFB));
 
 --EXPECTF--
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cfb.php on line 6
+
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cfb.php on line 6
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cfb.php on line 7
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cfb.php on line 10
 PHP Testfest 2008
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_cfb.php on line 13
+
 Warning: mcrypt_decrypt(): Encryption mode requires an initialization vector of size 16 in %s on line %d
 bool(false)
index 1aa48868b04ba6b33a891c310d80515339ec019a..1ba7cc315a2f60f9b14a4fae14b67eaf17dffd8d 100644 (file)
@@ -11,7 +11,18 @@ $iv3 = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_ECB)
 echo strlen($iv1) . "\n";
 echo strlen($iv2) . "\n";
 echo strlen($iv3) . "\n";
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_create_iv.php on line 2
+
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_create_iv.php on line 2
+
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_create_iv.php on line 3
+
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_create_iv.php on line 3
+
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_create_iv.php on line 4
+
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_create_iv.php on line 4
 16
 16
 16
index f10757c45d589ec4b31ee5afb5865010f5b4855e..08bcef564e13cb80f63c223fd991dad3f9e6d3d8 100644 (file)
@@ -20,10 +20,21 @@ var_dump(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_CBC));
 
 var_dump(mcrypt_decrypt(MCRYPT_BLOWFISH, "FooBar", $enc_data, MCRYPT_MODE_CBC, $iv));
 --EXPECTF--
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt.php on line 7
+
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt.php on line 7
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt.php on line 8
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt.php on line 11
 PHP Testfest 2008
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt.php on line 14
+
 Warning: mcrypt_decrypt(): Encryption mode requires an initialization vector of size 16 in %s on line %d
 bool(false)
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt.php on line 16
+
 Warning: mcrypt_decrypt(): Received initialization vector of size 16, but size 8 is required for this encryption mode in %s on line %d
 bool(false)
index 60af213911b424f25278d9a2f24441d850377045..7f57d1df2a722918124f7933c99c51305e94c255 100644 (file)
@@ -72,19 +72,27 @@ function special_var_dump($str) {
 
 key length=8
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_cbc.php on line 44
+
 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=20
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_cbc.php on line 44
+
 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=24
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_cbc.php on line 44
 string(32) "736563726574206d6573736167650000"
 
 key length=26
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_cbc.php on line 44
+
 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
@@ -92,14 +100,20 @@ string(0) ""
 
 iv length=4
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_cbc.php on line 51
+
 Warning: mcrypt_decrypt(): Received initialization vector of size 4, but size 8 is required for this encryption mode in %s on line %d
 string(0) ""
 
 iv length=8
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_cbc.php on line 51
 string(32) "659ec947f4dc3a3b9c50de744598d3c8"
 
 iv length=9
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_cbc.php on line 51
+
 Warning: mcrypt_decrypt(): Received initialization vector of size 9, but size 8 is required for this encryption mode in %s on line %d
 string(0) ""
 ===DONE===
index c54e6e50986a9a8b783ce3634e08b0aa46f7a3b2..3daecef2792ca6bccc33db42049159beb58a72fe 100644 (file)
@@ -71,30 +71,44 @@ function special_var_dump($str) {
 
 key length=8
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_ecb.php on line 43
+
 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=20
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_ecb.php on line 43
+
 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=24
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_ecb.php on line 43
 string(32) "736563726574206d6573736167650000"
 
 key length=26
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_ecb.php on line 43
+
 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 --- testing different iv lengths
 
 iv length=4
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_ecb.php on line 50
 string(32) "a9298896ed1b7335f8f10f7ff6d7a239"
 
 iv length=8
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_ecb.php on line 50
 string(32) "a9298896ed1b7335f8f10f7ff6d7a239"
 
 iv length=9
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_3des_ecb.php on line 50
 string(32) "a9298896ed1b7335f8f10f7ff6d7a239"
 ===DONE===
index aae42d8389b407b3cebaa0ed2651469c82d7abb6..8218eab90a803e4f698033e0590e9d3fb33317ec 100644 (file)
@@ -41,12 +41,15 @@ var_dump( mcrypt_decrypt($cipher, $key, $data) );
 
 -- Testing mcrypt_decrypt() function with more than expected no. of arguments --
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_error.php on line 19
+
 Warning: mcrypt_decrypt() expects at most 5 parameters, 6 given in %s on line %d
 NULL
 
 -- Testing mcrypt_decrypt() function with less than expected no. of arguments --
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_decrypt_error.php on line 26
+
 Warning: mcrypt_decrypt() expects at least 4 parameters, 3 given in %s on line %d
 NULL
 ===DONE===
-
index 21fda197328bff3d96e4a729417d82e23930cfdc..16df92d94fca363620927df340291b1714bd9027 100644 (file)
@@ -124,107 +124,132 @@ fclose($fp);
 *** Testing mcrypt_decrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int 1--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int 12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int -12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float 10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float -10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float .5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 1 to be string, array given, %s(%d)
 NULL
 
 --int indexed array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 1 to be string, array given, %s(%d)
 NULL
 
 --associative array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 1 to be string, array given, %s(%d)
 NULL
 
 --nested arrays--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 1 to be string, array given, %s(%d)
 NULL
 
 --uppercase NULL--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase null--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase true--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase false--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty string DQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty string SQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 1 to be string, object given, %s(%d)
 NULL
 
 --undefined var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --unset var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --resource--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation1.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 1 to be string, resource given, %s(%d)
 NULL
 ===DONE===
-
index 985029c8ba89f78b386e944d746ae69b31cb25f3..129074e95afdea8b63f6352a604e7439e5dbc303 100644 (file)
@@ -124,107 +124,132 @@ fclose($fp);
 *** Testing mcrypt_decrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --int 1--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --int 12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --int -12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float 10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float -10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float .5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --empty array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
 string(0) ""
 
 --int indexed array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
 string(0) ""
 
 --associative array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
 string(0) ""
 
 --nested arrays--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, array given, %s(%d)
 string(0) ""
 
 --uppercase NULL--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --lowercase null--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --lowercase true--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --lowercase false--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --empty string DQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --empty string SQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, object given, %s(%d)
 string(0) ""
 
 --undefined var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --unset var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --resource--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation2.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 2 to be string, resource given, %s(%d)
 string(0) ""
 ===DONE===
-
index a36f2c7a836b722a650ad78a1c5e3f80e5876ed6..18aa8ddc0f5a9ad52b889c491908c143db84bb6e 100644 (file)
@@ -124,87 +124,112 @@ fclose($fp);
 *** Testing mcrypt_decrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "52833a00168e547f"
 
 --int 1--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "82011a0a93098a13"
 
 --int 12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "e8b71c21b6acc162"
 
 --int -12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "db3c458e975563a8"
 
 --float 10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "6ee8764562f25913"
 
 --float -10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "d63b39fd5f65678e"
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(32) "7712cc4828221be40672239d9c32e742"
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(32) "caa892cb5d28b53c2b75b1e0799427c3"
 
 --float .5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "99880c86884385d9"
 
 --empty array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, array given, %s(%d)
 string(0) ""
 
 --int indexed array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, array given, %s(%d)
 string(0) ""
 
 --associative array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, array given, %s(%d)
 string(0) ""
 
 --nested arrays--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, array given, %s(%d)
 string(0) ""
 
 --uppercase NULL--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "d27689f6fd9700f4"
 
 --lowercase null--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "d27689f6fd9700f4"
 
 --lowercase true--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "82011a0a93098a13"
 
 --lowercase false--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "d27689f6fd9700f4"
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "82011a0a93098a13"
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "d27689f6fd9700f4"
 
 --empty string DQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "d27689f6fd9700f4"
 
 --empty string SQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "d27689f6fd9700f4"
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(32) "46677e368bc07ef375bd580e0c4b2594"
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, object given, %s(%d)
 string(0) ""
 
 --undefined var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "d27689f6fd9700f4"
 
 --unset var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 string(16) "d27689f6fd9700f4"
 
 --resource--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation3.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 3 to be string, resource given, %s(%d)
 string(0) ""
 ===DONE===
-
index 1bb994dcc790ed1f5357830e1f0406d7747dd68d..34bb503e984ba7facd427c80b9a1da7268fb1d29 100644 (file)
@@ -124,106 +124,132 @@ fclose($fp);
 *** Testing mcrypt_decrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int 1--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int 12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int -12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float 10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float -10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float .5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 4 to be string, array given, %s(%d)
 NULL
 
 --int indexed array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 4 to be string, array given, %s(%d)
 NULL
 
 --associative array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 4 to be string, array given, %s(%d)
 NULL
 
 --nested arrays--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 4 to be string, array given, %s(%d)
 NULL
 
 --uppercase NULL--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase null--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase true--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase false--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty string DQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty string SQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 4 to be string, object given, %s(%d)
 NULL
 
 --undefined var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --unset var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --resource--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation4.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 4 to be string, resource given, %s(%d)
 NULL
 ===DONE===
index 0f5093ba886c62e0c350d879e88a56370101d3cf..3af310f76fccdb77f157b2202e99137add606ef9 100644 (file)
@@ -124,107 +124,132 @@ fclose($fp);
 *** Testing mcrypt_decrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --int 1--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --int 12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --int -12345--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float 10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float -10.5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float .5--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --empty array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, array given, %s(%d)
 string(0) ""
 
 --int indexed array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, array given, %s(%d)
 string(0) ""
 
 --associative array--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, array given, %s(%d)
 string(0) ""
 
 --nested arrays--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, array given, %s(%d)
 string(0) ""
 
 --uppercase NULL--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --lowercase null--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --lowercase true--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --lowercase false--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --empty string DQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --empty string SQ--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, object given, %s(%d)
 string(0) ""
 
 --undefined var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --unset var--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --resource--
+Error: 8192 - mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_decrypt_variation5.php(107)
 Error: 2 - mcrypt_decrypt() expects parameter 5 to be string, resource given, %s(%d)
 string(0) ""
 ===DONE===
-
index 33c86bb45d941453eec50d53719909a0b7e20d4c..d5b4c5502c79c9d6856fb7dc3ef0914248202c93 100644 (file)
@@ -18,4 +18,13 @@ echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_ECB, $iv)) . "\n"
 mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_ECB);
 
 --EXPECTF--
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb.php on line 6
+
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb.php on line 6
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb.php on line 7
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb.php on line 10
 PHP Testfest 2008
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb.php on line 13
index 6319fa15d0208e8c48d7c0b69212238300a0d343..60c07fe38b38a824dc3dbe4a5d3f2ab9e704e4bd 100644 (file)
@@ -68,30 +68,44 @@ function special_var_dump($str) {
 
 key length=8
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_decrypt.php on line 42
+
 Warning: mcrypt_decrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=20
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_decrypt.php on line 42
+
 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=24
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_decrypt.php on line 42
 string(32) "736563726574206d6573736167650000"
 
 key length=26
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_decrypt.php on line 42
+
 Warning: mcrypt_decrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 --- testing different iv lengths
 
 iv length=4
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_decrypt.php on line 49
 string(32) "a9298896ed1b7335f8f10f7ff6d7a239"
 
 iv length=8
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_decrypt.php on line 49
 string(32) "a9298896ed1b7335f8f10f7ff6d7a239"
 
 iv length=9
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_decrypt.php on line 49
 string(32) "a9298896ed1b7335f8f10f7ff6d7a239"
 ===DONE===
index 0ccf4b70b39cb3dafff63184af6a15fd9d2bf7e2..6ed16f10729f1a11a7028ac17fbc654d94495a18 100644 (file)
@@ -53,30 +53,44 @@ foreach ($ivs as $iv) {
 
 key length=8
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_encrypt.php on line 31
+
 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=20
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_encrypt.php on line 31
+
 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=24
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_encrypt.php on line 31
 string(112) "923eedcb20e18e3efa466a6ca1b842b34e6ac46aa3690ef739d0d68a26eb64e1a6ad42e7d18312ae8a57ab927e1dc892e5ff56c061864f27"
 
 key length=26
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_encrypt.php on line 31
+
 Warning: mcrypt_encrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 --- testing different iv lengths
 
 iv length=4
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_encrypt.php on line 38
 string(112) "440a6f54601969b15e81df09cd381ef585fede5f3620587fd1a949c520aed9f6d10ebbabf2cea3e1f04c9251c2878c0ca37d51c80d490165"
 
 iv length=8
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_encrypt.php on line 38
 string(112) "440a6f54601969b15e81df09cd381ef585fede5f3620587fd1a949c520aed9f6d10ebbabf2cea3e1f04c9251c2878c0ca37d51c80d490165"
 
 iv length=9
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ecb_3des_encrypt.php on line 38
 string(112) "440a6f54601969b15e81df09cd381ef585fede5f3620587fd1a949c520aed9f6d10ebbabf2cea3e1f04c9251c2878c0ca37d51c80d490165"
 ===DONE===
index 5b0bb01b9ff0274772f8936f8deedab9fe32d770..84d64c3b98070ed338600e83e57f52dc2fe08009 100644 (file)
@@ -14,9 +14,28 @@ $td  = mcrypt_module_open(MCRYPT_BLOWFISH, '', MCRYPT_MODE_CBC, '');
 echo mcrypt_enc_get_algorithms_name($td) . "\n";
 $td  = mcrypt_module_open('des', '', 'ecb', '');
 echo mcrypt_enc_get_algorithms_name($td) . "\n";
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 2
+
+Deprecated: mcrypt_enc_get_algorithms_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 3
 Rijndael-128
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 4
+
+Deprecated: mcrypt_enc_get_algorithms_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 5
 Rijndael-128
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 6
+
+Deprecated: mcrypt_enc_get_algorithms_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 7
 RC2
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 8
+
+Deprecated: mcrypt_enc_get_algorithms_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 9
 Blowfish
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 10
+
+Deprecated: mcrypt_enc_get_algorithms_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_algorithms_name.php on line 11
 DES
\ No newline at end of file
index 06f5adda7a7cdd906fbc0ac56c8c30ed81fd8d26..4d19263ed45cadee09df83cd61ba5109a9bfe1e6 100644 (file)
@@ -10,7 +10,18 @@ $td = mcrypt_module_open(MCRYPT_3DES, '', MCRYPT_MODE_CBC, '');
 var_dump(mcrypt_enc_get_block_size($td));
 $td = mcrypt_module_open(MCRYPT_WAKE, '', MCRYPT_MODE_STREAM, '');
 var_dump(mcrypt_enc_get_block_size($td));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_block_size.php on line 2
+
+Deprecated: mcrypt_enc_get_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_block_size.php on line 3
 int(32)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_block_size.php on line 4
+
+Deprecated: mcrypt_enc_get_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_block_size.php on line 5
 int(8)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_block_size.php on line 6
+
+Deprecated: mcrypt_enc_get_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_block_size.php on line 7
 int(1)
index b4f9d6e4b543db87b16cb677ae151b968fb1f236..7f38d8f8cb303d8ccb4781c7c4d5ac35fc353043 100644 (file)
@@ -10,7 +10,18 @@ $td = mcrypt_module_open(MCRYPT_3DES, '', MCRYPT_MODE_CBC, '');
 var_dump(mcrypt_enc_get_iv_size($td));
 $td = mcrypt_module_open(MCRYPT_WAKE, '', MCRYPT_MODE_STREAM, '');
 var_dump(mcrypt_enc_get_iv_size($td));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_iv_size.php on line 2
+
+Deprecated: mcrypt_enc_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_iv_size.php on line 3
 int(32)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_iv_size.php on line 4
+
+Deprecated: mcrypt_enc_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_iv_size.php on line 5
 int(8)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_iv_size.php on line 6
+
+Deprecated: mcrypt_enc_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_iv_size.php on line 7
 int(0)
index 22328e14d670b0b80dcafd9a280cf7538bc17dc5..1e8160cee0529040eddaf95f9280629e8fdd1902 100644 (file)
@@ -10,7 +10,18 @@ $td = mcrypt_module_open(MCRYPT_3DES, '', MCRYPT_MODE_CBC, '');
 var_dump(mcrypt_enc_get_key_size($td));
 $td = mcrypt_module_open(MCRYPT_WAKE, '', MCRYPT_MODE_STREAM, '');
 var_dump(mcrypt_enc_get_key_size($td));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_key_size.php on line 2
+
+Deprecated: mcrypt_enc_get_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_key_size.php on line 3
 int(32)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_key_size.php on line 4
+
+Deprecated: mcrypt_enc_get_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_key_size.php on line 5
 int(24)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_key_size.php on line 6
+
+Deprecated: mcrypt_enc_get_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_key_size.php on line 7
 int(32)
index 21c41f98cbf276f8ccf127efe36787bc07e70b07..e344ea39c0d38067c267a4c2444a584002863def 100644 (file)
@@ -16,10 +16,33 @@ $td  = mcrypt_module_open('des', '', 'ecb', '');
 echo mcrypt_enc_get_modes_name($td) . "\n";
 $td  = mcrypt_module_open('des', '', 'cbc', '');
 echo mcrypt_enc_get_modes_name($td) . "\n";
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 2
+
+Deprecated: mcrypt_enc_get_modes_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 3
 ECB
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 4
+
+Deprecated: mcrypt_enc_get_modes_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 5
 CBC
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 6
+
+Deprecated: mcrypt_enc_get_modes_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 7
 STREAM
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 8
+
+Deprecated: mcrypt_enc_get_modes_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 9
 OFB
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 10
+
+Deprecated: mcrypt_enc_get_modes_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 11
 ECB
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 12
+
+Deprecated: mcrypt_enc_get_modes_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_mode_name.php on line 13
 CBC
index 0ce1f15cf7ece77f24fb751f46334ecdf28f1775..49752cf98350d117e9d71060a061af28490d49e0 100644 (file)
@@ -7,7 +7,10 @@ mcrypt_enc_get_supported_key_sizes
 $td  = mcrypt_module_open('rijndael-256', '', 'ecb', '');
 $var = mcrypt_enc_get_supported_key_sizes($td);
 var_dump($var);
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_supported_key_sizes.php on line 2
+
+Deprecated: mcrypt_enc_get_supported_key_sizes(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_get_supported_key_sizes.php on line 3
 array(3) {
   [0]=>
   int(16)
index 21a0ed2b888f03e14da574a6df60d34a66cc65b8..8dc00f637c8dbab9fa6e1736537ee9071d0c9a8d 100644 (file)
@@ -10,7 +10,18 @@ $td = mcrypt_module_open(MCRYPT_3DES, '', MCRYPT_MODE_CBC, '');
 var_dump(mcrypt_enc_is_block_algorithm($td));
 $td = mcrypt_module_open(MCRYPT_WAKE, '', MCRYPT_MODE_STREAM, '');
 var_dump(mcrypt_enc_is_block_algorithm($td));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm.php on line 2
+
+Deprecated: mcrypt_enc_is_block_algorithm(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm.php on line 3
 bool(true)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm.php on line 4
+
+Deprecated: mcrypt_enc_is_block_algorithm(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm.php on line 5
 bool(true)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm.php on line 6
+
+Deprecated: mcrypt_enc_is_block_algorithm(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm.php on line 7
 bool(false)
index 69c96541752d08b5ea6a29f837d63101f9e8723c..b2f383075852a152dcdf77c3cf0c646e4ce769c6 100644 (file)
@@ -10,7 +10,18 @@ $td = mcrypt_module_open(MCRYPT_RIJNDAEL_256, '', MCRYPT_MODE_CBC, '');
 var_dump(mcrypt_enc_is_block_algorithm_mode($td));
 $td = mcrypt_module_open(MCRYPT_WAKE, '',  MCRYPT_MODE_STREAM, '');
 var_dump(mcrypt_enc_is_block_algorithm_mode($td));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm_mode.php on line 2
+
+Deprecated: mcrypt_enc_is_block_algorithm_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm_mode.php on line 3
 bool(true)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm_mode.php on line 4
+
+Deprecated: mcrypt_enc_is_block_algorithm_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm_mode.php on line 5
 bool(true)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm_mode.php on line 6
+
+Deprecated: mcrypt_enc_is_block_algorithm_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_algorithm_mode.php on line 7
 bool(false)
index 551f7a69759914759e2d50367a1272eae2f4a61c..e3d7292733ba8690d01b9e5ab28d74082d143e22 100644 (file)
@@ -12,8 +12,23 @@ $td = mcrypt_module_open(MCRYPT_ARCFOUR, '', MCRYPT_MODE_STREAM, '');
 var_dump(mcrypt_enc_is_block_mode($td));
 $td = mcrypt_module_open(MCRYPT_WAKE, '', MCRYPT_MODE_STREAM, '');
 var_dump(mcrypt_enc_is_block_mode($td));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_mode.php on line 2
+
+Deprecated: mcrypt_enc_is_block_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_mode.php on line 3
 bool(true)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_mode.php on line 4
+
+Deprecated: mcrypt_enc_is_block_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_mode.php on line 5
 bool(true)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_mode.php on line 6
+
+Deprecated: mcrypt_enc_is_block_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_mode.php on line 7
 bool(false)
+
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_mode.php on line 8
+
+Deprecated: mcrypt_enc_is_block_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_is_block_mode.php on line 9
 bool(false)
\ No newline at end of file
index a161e0e02befbf63d4c1f120b8ea59edac7ee4fd..55e9e9759eaecc2c916e8f93f7caf2f34b6d2d3a 100644 (file)
@@ -6,5 +6,8 @@ mcrypt_enc_self_test
 <?php
 $td = mcrypt_module_open(MCRYPT_RIJNDAEL_256, '', MCRYPT_MODE_CBC, '');
 var_dump(mcrypt_enc_self_test($td));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_self_test.php on line 2
+
+Deprecated: mcrypt_enc_self_test(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_enc_self_test.php on line 3
 int(0)
\ No newline at end of file
index 8b3cbd836658f632d39e470e9529ee407201b1c5..05fc1153c6ee120f60a0ecd5e7b7713d1d19a4b1 100644 (file)
@@ -65,19 +65,27 @@ foreach ($ivs as $iv) {
 
 key length=8
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_cbc.php on line 40
+
 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=20
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_cbc.php on line 40
+
 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=24
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_cbc.php on line 40
 string(112) "b85e21072239d60c63a80e7c9ae493cb741a1cd407e52f451c5f43a0d103f55a7b62617eb2e44213c2d44462d388bc0b8f119384b12c84ac"
 
 key length=26
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_cbc.php on line 40
+
 Warning: mcrypt_encrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
@@ -85,14 +93,20 @@ string(0) ""
 
 iv length=4
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_cbc.php on line 47
+
 Warning: mcrypt_encrypt(): Received initialization vector of size 4, but size 8 is required for this encryption mode in %s on line %d
 string(0) ""
 
 iv length=8
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_cbc.php on line 47
 string(112) "b85e21072239d60c63a80e7c9ae493cb741a1cd407e52f451c5f43a0d103f55a7b62617eb2e44213c2d44462d388bc0b8f119384b12c84ac"
 
 iv length=9
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_cbc.php on line 47
+
 Warning: mcrypt_encrypt(): Received initialization vector of size 9, but size 8 is required for this encryption mode in %s on line %d
 string(0) ""
 ===DONE===
index ea6b2c2160391df2f697a65fa7157feae3f8a7bf..117b6c13f1ab9c1b51c3bab80b0e8d41448e77cd 100644 (file)
@@ -57,30 +57,44 @@ foreach ($ivs as $iv) {
 
 key length=8
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_ecb.php on line 25
+
 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=20
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_ecb.php on line 25
+
 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 key length=24
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_ecb.php on line 25
 string(112) "923eedcb20e18e3efa466a6ca1b842b34e6ac46aa3690ef739d0d68a26eb64e1a6ad42e7d18312ae8a57ab927e1dc892e5ff56c061864f27"
 
 key length=26
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_ecb.php on line 25
+
 Warning: mcrypt_encrypt(): Key of size 26 not supported by this algorithm. Only keys of size 24 supported in %s on line %d
 string(0) ""
 
 --- testing different iv lengths
 
 iv length=4
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_ecb.php on line 39
 string(112) "923eedcb20e18e3efa466a6ca1b842b34e6ac46aa3690ef739d0d68a26eb64e1a6ad42e7d18312ae8a57ab927e1dc892e5ff56c061864f27"
 
 iv length=8
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_ecb.php on line 39
 string(112) "923eedcb20e18e3efa466a6ca1b842b34e6ac46aa3690ef739d0d68a26eb64e1a6ad42e7d18312ae8a57ab927e1dc892e5ff56c061864f27"
 
 iv length=9
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_3des_ecb.php on line 39
 string(112) "923eedcb20e18e3efa466a6ca1b842b34e6ac46aa3690ef739d0d68a26eb64e1a6ad42e7d18312ae8a57ab927e1dc892e5ff56c061864f27"
 ===DONE===
index 04226c20bc5e6a64e601c0dda38ca1233c0f9fbb..2896cf7195fb22616a1fc46a25d517893aaa118b 100644 (file)
@@ -41,11 +41,15 @@ var_dump( mcrypt_encrypt($cipher, $key, $data) );
 
 -- Testing mcrypt_encrypt() function with more than expected no. of arguments --
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_error.php on line 19
+
 Warning: mcrypt_encrypt() expects at most 5 parameters, 6 given in %s on line %d
 NULL
 
 -- Testing mcrypt_encrypt() function with less than expected no. of arguments --
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_encrypt_error.php on line 26
+
 Warning: mcrypt_encrypt() expects at least 4 parameters, 3 given in %s on line %d
 NULL
 ===DONE===
index fdbd901a511c54930fb392e738949a9bedbb14dc..7fb9ad11618d123ca9a1e073e4e29c58647663d7 100644 (file)
@@ -124,106 +124,132 @@ fclose($fp);
 *** Testing mcrypt_encrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int 1--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int 12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int -12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float 10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float -10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float .5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 1 to be string, array given, %s(%d)
 NULL
 
 --int indexed array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 1 to be string, array given, %s(%d)
 NULL
 
 --associative array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 1 to be string, array given, %s(%d)
 NULL
 
 --nested arrays--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 1 to be string, array given, %s(%d)
 NULL
 
 --uppercase NULL--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase null--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase true--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase false--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty string DQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty string SQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 1 to be string, object given, %s(%d)
 NULL
 
 --undefined var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --unset var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --resource--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation1.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 1 to be string, resource given, %s(%d)
 NULL
 ===DONE===
index b1bf7f74bd42139a4df4da97129bca99b5988a5e..21382dde260ae41f81fe94e9f3b2417c0ce04946 100644 (file)
@@ -124,106 +124,132 @@ fclose($fp);
 *** Testing mcrypt_encrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --int 1--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --int 12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --int -12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float 10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float -10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --float .5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --empty array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 2 to be string, array given, %s(%d)
 string(0) ""
 
 --int indexed array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 2 to be string, array given, %s(%d)
 string(0) ""
 
 --associative array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 2 to be string, array given, %s(%d)
 string(0) ""
 
 --nested arrays--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 2 to be string, array given, %s(%d)
 string(0) ""
 
 --uppercase NULL--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --lowercase null--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --lowercase true--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --lowercase false--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --empty string DQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --empty string SQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 2 to be string, object given, %s(%d)
 string(0) ""
 
 --undefined var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --unset var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 supported, %s(%d)
 string(0) ""
 
 --resource--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation2.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 2 to be string, resource given, %s(%d)
 string(0) ""
 ===DONE===
index 9fb8e7c550077e3bdc850110f6461a1667b4f39d..e2bb2400e65a87b5550702568c804f99670dd96d 100644 (file)
@@ -124,86 +124,112 @@ fclose($fp);
 *** Testing mcrypt_encrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "51dc9cd9179b718b"
 
 --int 1--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "619c335f8c4f9cbf"
 
 --int 12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "b1258d67ab73de00"
 
 --int -12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "8eecf134443bd6b9"
 
 --float 10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "34b5750a793baff5"
 
 --float -10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "7a605f2aacc8a11d"
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(32) "74a0d7026ae586f476d4b17808851e86"
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(32) "bfb155997017986c01090afebd62c7ca"
 
 --float .5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "cc60ac201164b6c7"
 
 --empty array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 3 to be string, array given, %s(%d)
 string(0) ""
 
 --int indexed array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 3 to be string, array given, %s(%d)
 string(0) ""
 
 --associative array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 3 to be string, array given, %s(%d)
 string(0) ""
 
 --nested arrays--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 3 to be string, array given, %s(%d)
 string(0) ""
 
 --uppercase NULL--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "6ece228c41457539"
 
 --lowercase null--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "6ece228c41457539"
 
 --lowercase true--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "619c335f8c4f9cbf"
 
 --lowercase false--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "6ece228c41457539"
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "619c335f8c4f9cbf"
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "6ece228c41457539"
 
 --empty string DQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "6ece228c41457539"
 
 --empty string SQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "6ece228c41457539"
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(32) "749c3b4d16731d98370128754b7c930f"
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 3 to be string, object given, %s(%d)
 string(0) ""
 
 --undefined var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "6ece228c41457539"
 
 --unset var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 string(16) "6ece228c41457539"
 
 --resource--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation3.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 3 to be string, resource given, %s(%d)
 string(0) ""
 ===DONE===
index a041ab437e3a5160596d6a4d2a84c5a71e1816d8..a5e52f3fe2c53189b85a2526e50a5550b4d8dcc4 100644 (file)
@@ -124,106 +124,132 @@ fclose($fp);
 *** Testing mcrypt_encrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int 1--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int 12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --int -12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float 10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float -10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --float .5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 4 to be string, array given, %s(%d)
 NULL
 
 --int indexed array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 4 to be string, array given, %s(%d)
 NULL
 
 --associative array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 4 to be string, array given, %s(%d)
 NULL
 
 --nested arrays--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 4 to be string, array given, %s(%d)
 NULL
 
 --uppercase NULL--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase null--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase true--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --lowercase false--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty string DQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --empty string SQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 4 to be string, object given, %s(%d)
 NULL
 
 --undefined var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --unset var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt(): Module initialization failed, %s(%d)
 bool(false)
 
 --resource--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation4.php(107)
 Error: 2 - mcrypt_encrypt() expects parameter 4 to be string, resource given, %s(%d)
 NULL
 ===DONE===
index fdba526840c803f1b691dc3cff6213800993f914..86cfd8879e7d533518dc78bba0bba0daeb1a06b4 100644 (file)
@@ -125,106 +125,132 @@ fclose($fp);
 *** Testing mcrypt_encrypt() : usage variation ***
 
 --int 0--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --int 1--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --int 12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --int -12345--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float 10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float -10.5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float 12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float -12.3456789000e10--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --float .5--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --empty array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, array given, %s(%d)
 string(0) ""
 
 --int indexed array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, array given, %s(%d)
 string(0) ""
 
 --associative array--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, array given, %s(%d)
 string(0) ""
 
 --nested arrays--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, array given, %s(%d)
 string(0) ""
 
 --uppercase NULL--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --lowercase null--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --lowercase true--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --lowercase false--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --uppercase TRUE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --uppercase FALSE--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --empty string DQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --empty string SQ--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --instance of classWithToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --instance of classWithoutToString--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, object given, %s(%d)
 string(0) ""
 
 --undefined var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --unset var--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
 string(0) ""
 
 --resource--
+Error: 8192 - mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead, %s%emcrypt_encrypt_variation5.php(108)
 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, resource given, %s(%d)
 string(0) ""
 ===DONE===
index bf1f24df3b9938d274b4cccab5d4ef28c1fce408..9c60e7b73bd837a0c7fba370c5029454b90e266f 100644 (file)
@@ -7,7 +7,12 @@ mcrypt_get_block_size
 var_dump(mcrypt_get_block_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_CBC));
 var_dump(mcrypt_get_block_size(MCRYPT_3DES, MCRYPT_MODE_CBC));
 var_dump(mcrypt_get_block_size(MCRYPT_WAKE, MCRYPT_MODE_STREAM));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_get_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_block_size.php on line 2
 int(32)
+
+Deprecated: mcrypt_get_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_block_size.php on line 3
 int(8)
+
+Deprecated: mcrypt_get_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_block_size.php on line 4
 int(1)
index 9d4961ae8facd6f4b8f7144a5513e29650ff2e5f..f5216d6c59cfd514984cace44b213f50f6b5c930 100644 (file)
@@ -8,8 +8,15 @@ echo mcrypt_get_cipher_name(MCRYPT_RIJNDAEL_256) . "\n";
 echo mcrypt_get_cipher_name(MCRYPT_RC2) . "\n";
 echo mcrypt_get_cipher_name(MCRYPT_ARCFOUR) . "\n";
 echo mcrypt_get_cipher_name(MCRYPT_WAKE) . "\n";
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_get_cipher_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_cipher_name.php on line 2
 Rijndael-256
+
+Deprecated: mcrypt_get_cipher_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_cipher_name.php on line 3
 RC2
+
+Deprecated: mcrypt_get_cipher_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_cipher_name.php on line 4
 RC4
+
+Deprecated: mcrypt_get_cipher_name(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_cipher_name.php on line 5
 WAKE
index ad3599745c5dab0d848de1051c00fca1287a3257..758d3df24b98e352d2480de3f466b0b28640abf9 100644 (file)
@@ -9,9 +9,16 @@ var_dump(mcrypt_get_iv_size(MCRYPT_3DES, MCRYPT_MODE_CBC));
 var_dump(mcrypt_get_iv_size(MCRYPT_WAKE, MCRYPT_MODE_STREAM));
 var_dump(mcrypt_get_iv_size(MCRYPT_XTEA, MCRYPT_MODE_STREAM));
 --EXPECTF--
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_iv_size.php on line 2
 int(32)
+
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_iv_size.php on line 3
 int(8)
+
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_iv_size.php on line 4
 int(0)
 
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_iv_size.php on line 5
+
 Warning: mcrypt_get_iv_size(): Module initialization failed in %s on line %d
 bool(false)
\ No newline at end of file
index 930cf4d640fd4c843270379b52ff83d0e86f96ff..4e8621188918a19f9380a6d5f72e1de85aee3ce6 100644 (file)
@@ -7,7 +7,12 @@ mcrypt_get_key_size
 var_dump(mcrypt_get_key_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_CBC));
 var_dump(mcrypt_get_key_size(MCRYPT_3DES, MCRYPT_MODE_CBC));
 var_dump(mcrypt_get_key_size(MCRYPT_WAKE, MCRYPT_MODE_STREAM));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_get_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_key_size.php on line 2
 int(32)
+
+Deprecated: mcrypt_get_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_key_size.php on line 3
 int(24)
+
+Deprecated: mcrypt_get_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_get_key_size.php on line 4
 int(32)
index 9baf9a64de3487d529f70d9b049e5eb73690dad0..1c96235c21fc4d904cf0fa221d14c9096ad30392 100644 (file)
@@ -9,7 +9,8 @@ foreach (mcrypt_list_algorithms() as $algo) {
           echo "FOUND\n";
        }
 }
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_list_algorithms(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_list_algorithms.php on line 2
 FOUND
 FOUND
 FOUND
index 0e5a6ae87b13c4d0618dccb1471eddd78fb74cd5..721c2e69c756b574e08c889fb7d2cf42c4d741e9 100644 (file)
@@ -5,7 +5,8 @@ mcrypt_list_modes
 --FILE--
 <?php
 var_dump(mcrypt_list_modes());
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_list_modes(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_list_modes.php on line 2
 array(8) {
   [0]=>
   string(3) "cbc"
index 93db98241aa51159b8ca268d67e0db56fc3e3dc3..8e6a72c36becc166f1da913494951010db5d86eb 100644 (file)
@@ -11,10 +11,21 @@ var_dump(mcrypt_module_get_algo_block_size(MCRYPT_XTEA));
 var_dump(mcrypt_module_get_algo_block_size(MCRYPT_CAST_256));
 var_dump(mcrypt_module_get_algo_block_size(MCRYPT_BLOWFISH));
 ?>
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_get_algo_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_block_size.php on line 2
 int(32)
+
+Deprecated: mcrypt_module_get_algo_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_block_size.php on line 3
 int(24)
+
+Deprecated: mcrypt_module_get_algo_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_block_size.php on line 4
 int(8)
+
+Deprecated: mcrypt_module_get_algo_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_block_size.php on line 5
 int(8)
+
+Deprecated: mcrypt_module_get_algo_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_block_size.php on line 6
 int(16)
+
+Deprecated: mcrypt_module_get_algo_block_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_block_size.php on line 7
 int(8)
index 35e4721055366b00676b7268cb459dc9eef8a776..b00b267e6281f19b523dd9cda765c8a4b7c6bdce 100644 (file)
@@ -11,10 +11,21 @@ var_dump(mcrypt_module_get_algo_key_size(MCRYPT_XTEA));
 var_dump(mcrypt_module_get_algo_key_size(MCRYPT_CAST_256));
 var_dump(mcrypt_module_get_algo_key_size(MCRYPT_BLOWFISH));
 ?>
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_get_algo_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_key_size.php on line 2
 int(32)
+
+Deprecated: mcrypt_module_get_algo_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_key_size.php on line 3
 int(32)
+
+Deprecated: mcrypt_module_get_algo_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_key_size.php on line 4
 int(128)
+
+Deprecated: mcrypt_module_get_algo_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_key_size.php on line 5
 int(16)
+
+Deprecated: mcrypt_module_get_algo_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_key_size.php on line 6
 int(32)
+
+Deprecated: mcrypt_module_get_algo_key_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_algo_key_size.php on line 7
 int(56)
index bf45bb488e600c7dc9c9e2f042ef61b64ff2cf13..93b4a32504e973e50f72d25f99bdbb7801d5e6ee 100644 (file)
@@ -6,7 +6,8 @@ mcrypt_module_get_supported_key_sizes
 <?php
 var_dump(mcrypt_module_get_supported_key_sizes(MCRYPT_RIJNDAEL_256));
 var_dump(mcrypt_module_get_supported_key_sizes(MCRYPT_RC2));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_get_supported_key_sizes(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_supported_key_sizes.php on line 2
 array(3) {
   [0]=>
   int(16)
@@ -15,5 +16,7 @@ array(3) {
   [2]=>
   int(32)
 }
+
+Deprecated: mcrypt_module_get_supported_key_sizes(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_get_supported_key_sizes.php on line 3
 array(0) {
 }
\ No newline at end of file
index 2cfc87ddf501064789ea4aaa45962e8ca40e2eab..aebcad77d7bf959cd3e87ea5d97d7e16d90c0a28 100644 (file)
@@ -8,8 +8,15 @@ var_dump(mcrypt_module_is_block_algorithm(MCRYPT_RIJNDAEL_128));
 var_dump(mcrypt_module_is_block_algorithm(MCRYPT_DES));
 var_dump(mcrypt_module_is_block_algorithm(MCRYPT_WAKE));
 var_dump(mcrypt_module_is_block_algorithm(MCRYPT_XTEA));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_is_block_algorithm(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_algorithm.php on line 2
 bool(true)
+
+Deprecated: mcrypt_module_is_block_algorithm(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_algorithm.php on line 3
 bool(true)
+
+Deprecated: mcrypt_module_is_block_algorithm(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_algorithm.php on line 4
 bool(false)
+
+Deprecated: mcrypt_module_is_block_algorithm(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_algorithm.php on line 5
 bool(true)
\ No newline at end of file
index 292455141401aadb4a6a773496ddd7709810d6f4..3f00a917b9bf6690f8ec246eefa15f94be3f3d6c 100644 (file)
@@ -8,8 +8,15 @@ var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_CBC));
 var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_ECB));
 var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_STREAM));
 var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_OFB));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_is_block_algorithm_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_algorithm_mode.php on line 2
 bool(true)
+
+Deprecated: mcrypt_module_is_block_algorithm_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_algorithm_mode.php on line 3
 bool(true)
+
+Deprecated: mcrypt_module_is_block_algorithm_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_algorithm_mode.php on line 4
 bool(false)
+
+Deprecated: mcrypt_module_is_block_algorithm_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_algorithm_mode.php on line 5
 bool(true)
\ No newline at end of file
index 662279f596ae63cbff87036bf11803c20d070b3f..dd6b9826eec40b69dbfaafb0be03231cf5f3cd42 100644 (file)
@@ -9,9 +9,18 @@ var_dump(mcrypt_module_is_block_mode(MCRYPT_MODE_ECB));
 var_dump(mcrypt_module_is_block_mode(MCRYPT_MODE_STREAM));
 var_dump(mcrypt_module_is_block_mode(MCRYPT_MODE_NOFB));
 var_dump(mcrypt_module_is_block_mode(MCRYPT_MODE_OFB));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_is_block_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_mode.php on line 2
 bool(true)
+
+Deprecated: mcrypt_module_is_block_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_mode.php on line 3
 bool(true)
+
+Deprecated: mcrypt_module_is_block_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_mode.php on line 4
 bool(false)
+
+Deprecated: mcrypt_module_is_block_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_mode.php on line 5
 bool(false)
+
+Deprecated: mcrypt_module_is_block_mode(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_is_block_mode.php on line 6
 bool(false)
\ No newline at end of file
index 92f0d555b35050bca8b00f747afeb60ae0f780c7..7d5db16662041bc3a8774c4f4b5d1cbf807aa142 100644 (file)
@@ -8,7 +8,10 @@ var_dump(mcrypt_module_open(MCRYPT_RIJNDAEL_256, '', MCRYPT_MODE_CBC, ''));
 mcrypt_module_open('', '', '', '');
 
 --EXPECTF--
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_open.php on line 2
 resource(%d) of type (mcrypt)
 
+Deprecated: mcrypt_module_open(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_open.php on line 3
+
 Warning: mcrypt_module_open(): Could not open encryption module in %s on line %d
 
index cf07bfe6a4bca9a32bc8b1749b0c3c7bfe9acdcd..e76f242878b2dc657c3690afef21a49ca9bc1778 100644 (file)
@@ -7,7 +7,12 @@ mcrypt_module_self_test
 var_dump(mcrypt_module_self_test(MCRYPT_RIJNDAEL_128));
 var_dump(mcrypt_module_self_test(MCRYPT_RC2));
 var_dump(mcrypt_module_self_test(''));
---EXPECT--
+--EXPECTF--
+Deprecated: mcrypt_module_self_test(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_self_test.php on line 2
 bool(true)
+
+Deprecated: mcrypt_module_self_test(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_self_test.php on line 3
 bool(true)
+
+Deprecated: mcrypt_module_self_test(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_module_self_test.php on line 4
 bool(false)
index 5d87fcd855943c4cc9bcce1c64d58dc00dc057ec..78f88e9f8afe7fd0bf8bf1dcdd576a6a3635f96f 100644 (file)
@@ -18,6 +18,15 @@ echo trim(mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_OFB, $iv)) . "\n"
 mcrypt_decrypt($cipher, $key, $enc_data, MCRYPT_MODE_OFB);
 
 --EXPECTF--
+Deprecated: mcrypt_get_iv_size(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ofb.php on line 6
+
+Deprecated: mcrypt_create_iv(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ofb.php on line 6
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ofb.php on line 7
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ofb.php on line 10
 PHP Testfest 2008
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_ofb.php on line 13
+
 Warning: mcrypt_decrypt(): Encryption mode requires an initialization vector of size 16 in %s on line %d
index 7889f67851f8f802e0552fb38f573b3370be17f9..de86aca0d930e0c029d83aa41fa0be8af3ed9c0e 100644 (file)
@@ -72,44 +72,62 @@ foreach ($ivs as $iv) {
 
 key length=0
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_128BitKey.php on line 45
+
 Warning: mcrypt_encrypt(): Key of size 0 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in %s on line %d
 string(0) ""
 
 key length=0
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_128BitKey.php on line 45
+
 Warning: mcrypt_encrypt(): Key of size 0 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in %s on line %d
 string(0) ""
 
 key length=8
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_128BitKey.php on line 45
+
 Warning: mcrypt_encrypt(): Key of size 8 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in %s on line %d
 string(0) ""
 
 key length=16
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_128BitKey.php on line 45
 string(128) "dc8f957ec530acf10cd95ba7da7b6405380fe19a2941e9a8de54680512f18491bc374e5464885ae6c2ae2aa7a6cdd2fbe12a06bbc4bd59dbbfaa15f09044f101"
 
 --- testing different iv lengths
 
 iv length=0
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_128BitKey.php on line 53
+
 Warning: mcrypt_decrypt(): Received initialization vector of size 0, but size 16 is required for this encryption mode in %s on line %d
 string(0) ""
 
 iv length=0
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_128BitKey.php on line 53
+
 Warning: mcrypt_decrypt(): Received initialization vector of size 0, but size 16 is required for this encryption mode in %s on line %d
 string(0) ""
 
 iv length=8
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_128BitKey.php on line 53
+
 Warning: mcrypt_decrypt(): Received initialization vector of size 8, but size 16 is required for this encryption mode in %s on line %d
 string(0) ""
 
 iv length=16
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_128BitKey.php on line 53
 string(32) "42adc8c0db19473f2c684ff2d6e828a5"
 
 iv length=17
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_128BitKey.php on line 53
+
 Warning: mcrypt_decrypt(): Received initialization vector of size 17, but size 16 is required for this encryption mode in %s on line %d
 string(0) ""
 ===DONE===
index 672e1ee1b7d55535f6fd865e81a2c96aa2a7f46d..5509e6906506513b4f4a4e486cecc8a126f49166 100644 (file)
@@ -63,33 +63,53 @@ foreach ($keys as $key) {
 
 key length=20
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 43
+
 Warning: mcrypt_encrypt(): Key of size 20 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in %s on line %d
 string(0) ""
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 45
+
 Warning: mcrypt_decrypt(): Key of size 20 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in %s on line %d
 string(0) ""
 
 key length=24
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 43
 string(128) "8ecdf1ed5742aff16ef34c819c8d22c707c54f4d9ffc18e5f6ab79fe68c25705351e2c001a0b9f29e5def67570ca9da644efb69a8bb97940cb4bec094dae8bb5"
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 45
 string(128) "546869732069732074686520736563726574206d657373616765207768696368206d75737420626520656e637279707465640000000000000000000000000000"
 
 key length=30
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 43
+
 Warning: mcrypt_encrypt(): Key of size 30 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in %s on line %d
 string(0) ""
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 45
+
 Warning: mcrypt_decrypt(): Key of size 30 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in %s on line %d
 string(0) ""
 
 key length=32
+
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 43
 string(128) "f23bc103bfd0859a8318acee6d96e5f43dff68f3cdeae817a1e77c33492e32bdb82c5f660fcd1a2bfda70d9de4d5d8028ce179a9e2f7f9ee7dd61c7b4b409e95"
+
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 45
 string(128) "546869732069732074686520736563726574206d657373616765207768696368206d75737420626520656e637279707465640000000000000000000000000000"
 
 key length=40
 
+Deprecated: mcrypt_encrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 43
+
 Warning: mcrypt_encrypt(): Key of size 40 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in %s on line %d
 string(0) ""
 
+Deprecated: mcrypt_decrypt(): The mcrypt extension is deprecated and will be removed in the future: use openssl instead in %s%emcrypt_rijndael128_256BitKey.php on line 45
+
 Warning: mcrypt_decrypt(): Key of size 40 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in %s on line %d
 string(0) ""
 ===DONE===