diff --git a/lib/SimpleSAML/Utilities.php b/lib/SimpleSAML/Utilities.php index 3c8b2bcc84a79f0f6a91cfb3fbcac842008f3e9a..44a9fbfd1ec612cbc22e287995ac0471460a2441 100644 --- a/lib/SimpleSAML/Utilities.php +++ b/lib/SimpleSAML/Utilities.php @@ -1021,23 +1021,6 @@ class SimpleSAML_Utilities { } - /** - * @deprecated - * @param int $length The amount of random bytes to generate. - * @return string A string of $length random bytes. - */ - public static function generateRandomBytesMTrand($length) { - - /* Use mt_rand to generate $length random bytes. */ - $data = ''; - for($i = 0; $i < $length; $i++) { - $data .= chr(mt_rand(0, 255)); - } - - return $data; - } - - /** * This function generates a binary string containing random bytes. *