Comeonin.BcryptBase64

Module that provides base64 encoding for bcrypt.

Source

Summary

decode(words)

Decode using a base64 alphabet adapted for bcrypt

encode(words)

Encode using a base64 alphabet adapted for bcrypt

Functions

decode(words)

Decode using a base64 alphabet adapted for bcrypt.

Examples

iex> Comeonin.BcryptBase64.decode 'a1/fZUDsXETlX1K'
'spamandeggs'
Source
encode(words)

Encode using a base64 alphabet adapted for bcrypt.

Examples

iex> Comeonin.BcryptBase64.encode 'spamandeggs'
'a1/fZUDsXETlX1K'
Source