for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
* This file is part of Aura for PHP.
* @license http://opensource.org/licenses/bsd-license.php BSD
*/
namespace Aura\Session;
use Aura\Session\Exception;
* Generates cryptographically-secure random values.
* @package Aura.Session
class Randval implements RandvalInterface
{
* Returns a cryptographically secure random value.
* @return string
public function generate()
return random_bytes(32);
}