Comeonin.Bcrypt.Base64

Module that provides base64 encoding for bcrypt.

Summary

Functions

Decode using a base64 alphabet adapted for bcrypt

Encode using a base64 alphabet adapted for bcrypt

Functions

decode(words)

Decode using a base64 alphabet adapted for bcrypt.

Examples

iex> Comeonin.Bcrypt.Base64.decode 'a1/fZUDsXETlX1K'
'spamandeggs'
encode(words)

Encode using a base64 alphabet adapted for bcrypt.

Examples

iex> Comeonin.Bcrypt.Base64.encode 'spamandeggs'
'a1/fZUDsXETlX1K'