Elixirschool: (UndefinedFunctionError) function :crypto.rand_bytes/1 is undefined or private

Created on 22 Jul 2017  路  3Comments  路  Source: elixirschool/elixirschool

Reading through the Basics guide, there is an older function :crypto.rand_bytes. This should be replaced with :crypto.strong_rand_bytes.

Otherwise if im wrong please explain what i need to do to get that to work with latest version of elixir and erlang VM.

bug

All 3 comments

Thanks, @jaytheking! You're right and @bguiz is already working on it in #1132.

@nscyclone Aahh my bad, I did try searching before posting the issue and didn't find that.

Fixed in #1132. Thanks, @bguiz and @jaytheking!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

axelson picture axelson  路  4Comments

doomspork picture doomspork  路  4Comments

malloryerik picture malloryerik  路  4Comments

eksperimental picture eksperimental  路  5Comments

irlcatgirl picture irlcatgirl  路  3Comments