Skip to content
Permalink
Browse files

Text::uuid() is not crypto safe.

Refs #6139
  • Loading branch information...
markstory committed Mar 23, 2015
1 parent ee53820 commit 17898ca60988592016ea6dd4afac7497c8db777c
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Utility/Text.php
@@ -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

0 comments on commit 17898ca

Please sign in to comment.
You can’t perform that action at this time.