riverrun / bcrypt_elixir

Bcrypt password hashing for Elixir
Other
164 stars 26 forks source link

Move the `gen_salt` function to the Base module #32

Closed riverrun closed 2 years ago

riverrun commented 3 years ago

The main Bcrypt module should only contain the functions that the average developer would use, and all of the lower-level functions should be in the Bcrypt.Base module. With this in mind, the gen_salt function should really be in the Bcrypt.Base module, as most users will not use it directly.

I propose the following:

riverrun commented 2 years ago

Updated in 0c865e5