Skip to content

EugZol/hasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hasher

Absolutely minimal hashing library in pure Elixir.

Passwords will be hashed with one round of sha256 hashing with 32-byte salt automatically generated and added.

Installation

The package can be installed by adding hasher to your list of dependencies in mix.exs:

def deps do
  [{:hasher, "~> 0.1.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/hasher.

Usage

# Generate hash
hashed_password = Hasher.salted_password_hash("qwerty")

# Check password against hash
Hasher.check_password_hash("qwerty", hashed_password)

About

Provides absolutely simple password hashing functions (pure Elixir)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages