Comeonin.BcryptBase64
Module that provides base64 encoding for bcrypt.
Summary↑
decode(words) | Decode using a base64 alphabet adapted for bcrypt |
encode(words) | Encode using a base64 alphabet adapted for bcrypt |
Functions
Decode using a base64 alphabet adapted for bcrypt.
Examples
iex> Comeonin.BcryptBase64.decode 'a1/fZUDsXETlX1K'
'spamandeggs'
Encode using a base64 alphabet adapted for bcrypt.
Examples
iex> Comeonin.BcryptBase64.encode 'spamandeggs'
'a1/fZUDsXETlX1K'