[php-src] Issue #9985: openssl_encrypt passphrase equal false decrypt function

From: Date: Tue, 22 Nov 2022 06:16:52 +0000
Subject: [php-src] Issue #9985: openssl_encrypt passphrase equal false decrypt function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242861@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9985 Author: max-end ### Description The following code: ```php <?php ``` openssl_encrypt('9801379695091243389', 'AES-128-ECB',false, 0); Resulted in this output: ``` 648dd7b44f25424df24bfb96458b8c92d04b3c04e64ca20f85d99779a923dfd8 ``` But I expected this output instead: ``` $passphrase = false ,What is the passphrase converted to when encrypting? How to decrypt in java? ``` ### PHP Version php 7.1 ### Operating System macos 13.01

« previous php.bugs (#242861) next »