pbkdf2_elixir v0.9.0 Pbkdf2.Base64 View Source

Module that provides base64 encoding for pbkdf2.

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

Link to this section Summary

Functions

Decode using the adapted Pbkdf2 alphabet

Encode using the adapted Pbkdf2 alphabet

Link to this section Functions

Decode using the adapted Pbkdf2 alphabet.

Examples

iex> Pbkdf2.Base64.decode("c3BhbWFuZGVnZ3M")
"spamandeggs"

Encode using the adapted Pbkdf2 alphabet.

Examples

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