erlangpack / bcrypt

Erlang wrapper for OpenBSD's Blowfish password hashing code
https://hex.pm/packages/bcrypt
Other
16 stars 19 forks source link

Documentation and tests #29

Closed rustkas closed 2 years ago

rustkas commented 2 years ago

Make documentation of bcrypt library more informative

  1. The documentation is given in accordance with the modern possibilities of the EDoc.
  2. Added type specifications to API functions.
  3. Removed ambiguity using string() data type. By testing, a list of allowed characters (0, 255) was determined.

Property based tests

Based on existed EUnit tests make property based tests.

mworrell commented 2 years ago

Wonderful work, thanks!