[erlang-questions] Password generator in Erlang

Jeremey Barrett jbarrett@REDACTED
Thu Aug 16 17:25:27 CEST 2012


On Aug 16, 2012, at 9:53 AM, Artem Teslenko <ates@REDACTED> wrote:

> One more way to generate the passwords:
> 
> random:seed(now()).
> base64:encode_to_string(crypto:rand_bytes(16)).

Note: random:seed() is not related to crypto:rand_bytes(). Just the second line will do.

Regards,
Jeremey.




More information about the erlang-questions mailing list