Files
TwoFactorAuth/lib/Providers/Rng/IRNGProvider.php
T
William Hall 33a32cb099 📚 doc blocks
2021-03-08 18:24:44 +00:00

19 lines
393 B
PHP

<?php
namespace RobThree\Auth\Providers\Rng;
interface IRNGProvider
{
/**
* @param int $bytecount the number of bytes of randomness to return
*
* @return string the random bytes
*/
public function getRandomBytes($bytecount);
/**
* @return bool whether this provider is cryptographically secure
*/
public function isCryptographicallySecure();
}