[php-src] PR #19223: Add digest algo param to OpenSSL private encrypt and public decrypt
| From: | bukka | Date: | Wed, 23 Jul 2025 15:13:14 +0000 |
| Subject: | [php-src] PR #19223: Add digest algo param to OpenSSL private encrypt and public decrypt | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32583@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19223
Author: bukka
Specifically, it is added to openssl_private_encrypt() and openssl_public_decrypt() functions. The
purpose is to specify digest algorithm for OEAP padding. It currently defaults to SHA1 which is not
preferred for modern setup and causes problems in compatibility with web crypto.