Browse Source

Merge pull request #16602 from cakephp/ADmad-patch-1

Update docblock.
othercorey 3 years ago
parent
commit
cd6ba04a99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Utility/Text.php

+ 1 - 1
src/Utility/Text.php

@@ -53,7 +53,7 @@ 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 openssl or mcrypt extensions.
+     * Instead, you should use `Security::randomBytes()` or `Security::randomString()` instead.
      *
      * It should also not be used to create identifiers that have security implications, such as
      * 'unguessable' URL identifiers. Instead, you should use {@link \Cake\Utility\Security::randomBytes()}` for that.