We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e80d4d7 + c26e5e5 commit 44bdec1Copy full SHA for 44bdec1
src/Security/Helper/NonceGenerator.php
@@ -19,6 +19,6 @@ private function __construct()
19
20
public static function generate(): string
21
{
22
- return md5(microtime(true).uniqid('', true));
+ return bin2hex(random_bytes(16));
23
}
24
0 commit comments