Pbkdf2.Base64 (pbkdf2_elixir v1.4.0) View Source

Module that provides base64 encoding for pbkdf2.

Most developers will not need to use this module directly.

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"