From 755db0ec44acc3b3708a5a801785d31b10be967a Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Mon, 13 Nov 2023 01:58:39 +0300 Subject: [PATCH] actually 1 param will be noticed --- src/utils/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Utils.php b/src/utils/Utils.php index 209dcff4..4bfe3982 100644 --- a/src/utils/Utils.php +++ b/src/utils/Utils.php @@ -489,7 +489,7 @@ class Utils{ } public static function getRandomBytes($length = 16, $secure = true, $raw = true, $startEntropy = "", &$rounds = 0, &$drop = 0){ - return random_bytes($length); //nobody would ever notice other parameters + return $raw ? bin2hex(random_bytes($length)) : random_bytes($length); //nobody would ever notice other parameters } public static function chance($i){//GameHerobrine's code