[erlang-questions] RNG (Random Number Generator) used in Erlang SSL module
Tue Apr 26 13:10:52 CEST 2011
On Tue, 26 Apr 2011, Kenji Rikitake wrote:
> ++> Kaiduan Xie <kaiduanx@REDACTED> [2011-04-15 23:14:00 -0400]:
>> I am wondering what is the RNG used in Erlang SSL module. What is the
>> performance? I am investigating to see if a server can accept 1M TLS
>> connections in 15 minutes. Someone reminded me that RNG may be the
>> issue. What do you think? Please share your experience, and idea.
> For keeping the keys secure crypto:rand_bytes/1
> (or even crypto:strong_rand_bytes/1 in a recent "dev" branch of
> Erlang GitHub repository (I presume it for R14B03))
> is the only selection, and it will lead to use /dev/random on
> UNIX variants.
> Kenji Rikitake
Yes, the strengthened random number generation will be included in R14B03.
The commit Kenji is mentioning can be found here - https://github.com/erlang/otp/commit/f228601de45c5b53241b103af6616453c50885a5
Niclas @ Erlang/OTP
More information about the erlang-questions