Drop the use of OpenSSL as a fallback and use paragonie/random_compat

Fixes issue #80 for the 3.x series
This commit is contained in:
Ben Ramsey
2016-03-15 11:42:38 -05:00
parent a5626e3e58
commit 35247faecf
5 changed files with 11 additions and 73 deletions
+2 -1
View File
@@ -16,9 +16,10 @@ namespace Ramsey\Uuid\Generator;
/**
* RandomBytesGenerator provides functionality to generate strings of random
* binary data using `random_bytes()` function in PHP 7+
* binary data using `random_bytes()` function in PHP 7+ or paragonie/random_compat
*
* @link http://php.net/random_bytes
* @link https://github.com/paragonie/random_compat
*/
class RandomBytesGenerator implements RandomGeneratorInterface
{