Skip to content

lpil/beecrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

beecrypt ๐Ÿ

Important

Argon2 is a better password hashing algorithm, so unless you really know that you need bcrypt you should use the argus package instead of this one.

Package Version Hex Docs

Buzzing Gleam bindings to the Erlang bcrypt hashing library!

Unfortunately Erlang's bcrypt library does not currently support Windows.

Usage

Add it to your Gleam project:

gleam add beecrypt

And get hashing:

// The user gives us a password
let user_password = "blink182"

// We salt and hash the password
let hash = beecrypt.hash(user_password)

// The hash can be used to check if future passwords match
beecrypt.verify("blink182", hash) // -> True
beecrypt.verify("password", hash) // -> False

API documentation can be found at https://hexdocs.pm/beecrypt, and further documentation can be found in the Erlang library's repository.

About

๐Ÿ Buzzing Gleam bindings to the Erlang bcrypt hashing library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages