diff --git a/src/Provider/Miscellaneous.php b/src/Provider/Miscellaneous.php index 354f67bb3a..e34644a804 100644 --- a/src/Provider/Miscellaneous.php +++ b/src/Provider/Miscellaneous.php @@ -249,7 +249,7 @@ public static function boolean($chanceOfGettingTrue = 50) */ public static function md5() { - return md5(self::numberBetween()); + return md5(random_bytes(16)); } /** @@ -259,7 +259,7 @@ public static function md5() */ public static function sha1() { - return sha1(self::numberBetween()); + return sha1(random_bytes(20)); } /** @@ -269,7 +269,7 @@ public static function sha1() */ public static function sha256() { - return hash('sha256', self::numberBetween()); + return hash('sha256', random_bytes(32)); } /**