X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=library%2FOAuth1.php;fp=library%2FOAuth1.php;h=e3ca246467c258138094e2c5e0c3dd1e33b03c18;hb=dc01bdbc80cd382e33f61a21ce836a1e44a6c44c;hp=723f6592edc25d4fe50b7de24755930dd36ebe7b;hpb=811cdcdfcb0442791b0c6dfd8814c621a44731cc;p=friendica.git diff --git a/library/OAuth1.php b/library/OAuth1.php index 723f6592ed..e3ca246467 100644 --- a/library/OAuth1.php +++ b/library/OAuth1.php @@ -528,7 +528,7 @@ class OAuthRequest */ private static function generate_nonce() { - return bin2hex(random_bytes(16)); + return Friendica\Util\Strings::getRandomHex(32); } }