Skip to content

Commit

Permalink
Text::uuid() is not crypto safe.
Browse files Browse the repository at this point in the history
Refs #6139
  • Loading branch information
markstory committed Mar 23, 2015
1 parent ee53820 commit 17898ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Utility/Text.php
Expand Up @@ -26,6 +26,9 @@ class Text
/**
* Generate a random UUID version 4
*
* Warning: This method should not be used as a random seed for any cryptographic operations.
* Instead you should use the ssl or mcrypt extensions.
*
* @see http://www.ietf.org/rfc/rfc4122.txt
* @return string RFC 4122 UUID
* @copyright Matt Farina MIT License https://github.com/lootils/uuid/blob/master/LICENSE
Expand Down

0 comments on commit 17898ca

Please sign in to comment.