Comeonin.Pbkdf2.Base64

Module that provides base64 encoding for pbkdf2.

Summary

Functions

Decode using an adapted base64 alphabet (using . instead of + and with no padding)

Encode using an adapted base64 alphabet (using . instead of + and with no padding)

Functions

decode(data)

Decode using an adapted base64 alphabet (using . instead of + and with no padding).

Examples

iex> Comeonin.Pbkdf2.Base64.decode("c3BhbWFuZGVnZ3M")
"spamandeggs"
encode(data)

Encode using an adapted base64 alphabet (using . instead of + and with no padding).

Examples

iex> Comeonin.Pbkdf2.Base64.encode "spamandeggs"
"c3BhbWFuZGVnZ3M"