diff --git a/src/oauth2_token.erl b/src/oauth2_token.erl index 4030f9b..aa2e995 100644 --- a/src/oauth2_token.erl +++ b/src/oauth2_token.erl @@ -65,7 +65,7 @@ rand_bytes(N) -> ?MODULE:strong_rand_bytes_proxy(N) catch throw:low_entropy -> - crypto:rand_bytes(N) + crypto:strong_rand_bytes(N) end. %% @equiv crypto:strong_rand_bytes(N)