From 418ed91564c4d80e54c70e1d7267bcb017f00f68 Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 5 Jul 2022 13:29:19 +0530 Subject: [PATCH] Update docblock. --- src/Utility/Text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utility/Text.php b/src/Utility/Text.php index 570a2474521..6667c713813 100644 --- a/src/Utility/Text.php +++ b/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.