mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Mark SodiumRandomGenerator as deprecated
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user