riverrun / pbkdf2_elixir

Pbkdf2 password hashing for Elixir
Other
54 stars 12 forks source link

Docs say `output_fmt` but code says `format` #1

Closed nlfiedler closed 7 years ago

nlfiedler commented 7 years ago

The docs of the options param for Pbkdf2.Base.hash_password() says output_fmt, but the code expects format.

By the way, there are no tests for this parameter. When the docs are wrong or missing, the tests are a fallback for knowing how to use the API.

riverrun commented 7 years ago

I'll fix this later today. Thanks for pointing it out.

riverrun commented 7 years ago

Version 0.12.1 has a fix for this. I also added a test for default format and django format.