[erlang-questions] Erlang 20 and crypto:rand_uniform/2

Richard Bowker erlang@REDACTED
Wed May 17 09:16:32 CEST 2017

Reposting, apologies, hadn't noticed it had switched to HTML mail.


--- erlang@REDACTED wrote:
From: "Richard Bowker" <erlang@REDACTED>
To: <erlang-questions@REDACTED>
Subject: [erlang-questions] Erlang 20 and crypto:rand_uniform/2
Date: Tue, 16 May 2017 09:55:18 -0700

Erlang 20-RC1 gives the following warning
`crypto:rand_uniform/2 is deprecated and will be removed in a future
release; use rand:uniform/1`
Is there any reason why we wouldn't want to provide a rand:uniform/2
with a matching Lo/Hi api for convenience of retrofitting?

_______________________________________________ erlang-questions
mailing             list            erlang-questions@REDACTED

More information about the erlang-questions mailing list