diff --git a/src/Generator/SodiumRandomGenerator.php b/src/Generator/SodiumRandomGenerator.php index 6b08f54..3de53fa 100644 --- a/src/Generator/SodiumRandomGenerator.php +++ b/src/Generator/SodiumRandomGenerator.php @@ -18,6 +18,10 @@ namespace Ramsey\Uuid\Generator; * SodiumRandomGenerator provides functionality to generate strings of random * binary data using the PECL libsodium extension * + * @deprecated 4.0.0 As of PHP 7.2.0, the libsodium extension is bundled with + * PHP, and the random_bytes() PHP function is now the recommended method + * for generating random byes. The default RandomBytesGenerator uses the + * random_bytes() function. * @link http://pecl.php.net/package/libsodium * @link https://paragonie.com/book/pecl-libsodium */