[erlang-questions] On OTP rand module difference between OTP 19 and OTP 20

Raimo Niskanen <>
Mon Sep 25 11:05:13 CEST 2017

On Mon, Sep 04, 2017 at 10:48:15AM +0200, Raimo Niskanen wrote:
> We should add a 'rand' plugin to the 'crypto' module that does this
> buffered crypto:strong_random_bytes/1 trick.  There is something like that
> in rand_SUITE, but we should really have an official one.
> I also wonder where the sweet spot is?  64 KB seems like a lot of buffer.

I have created a pull request for such an extension to the crypto module:


/ Raimo Niskanen, Erlang/OTP, Ericsson AB

More information about the erlang-questions mailing list