for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace UMA\Psr\Http\Message\Internal;
class NonceProvider
{
const ENTROPY_BITS = 96;
/**
* @return string
*/
public function randomNonce()
return base64_encode(random_bytes(self::ENTROPY_BITS / 8));
}