Req #77084 [Opn->Fbk]: CryptGenRandom function used by random_int() and random_bytes() is deprecated
| From: | ab@php.net | Date: | Tue, 30 Oct 2018 18:03:35 +0000 |
| Subject: | Req #77084 [Opn->Fbk]: CryptGenRandom function used by random_int() and random_bytes() is deprecated | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217753@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77084&edit=1
ID: 77084
Updated by: ab@php.net
Reported by: mumu at seznam dot cz
Summary: CryptGenRandom function used by random_int() and
random_bytes() is deprecated
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: *General Issues
Operating System: Windows
PHP Version: 7.3.0RC4
Block user comment: N
Private report: N
New Comment:
Thanks for the report. Could you please point to the place where that deprecated APIs are used in
7.3? AFAIR php_get_random_bytes was moved to bcrypt at least in 7.2.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2018-10-30 12:32:47] mumu at seznam dot cz
Description:
------------
The Windows API CryptGenRandom function is marked as deprecated with suggestion to use Cryptography
Next Generation API instead.
Consider using the new API in a next PHP version.
https://docs.microsoft.com/en-us/windows/desktop/api/wincrypt/nf-wincrypt-cryptgenrandom
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77084&edit=1