Kaur v1.1.0 Kaur.Secure View Source

Utilities to generate secure API Keys.

Link to this section Summary

Functions

Generates a formatted String of length 24, using base 64 encoding

Link to this section Functions

Link to this function generate_api_key() View Source
generate_api_key() :: String.t

Generates a formatted String of length 24, using base 64 encoding.

Examples

iex> Kaur.Secure.generate_api_key “tEhdf77Pr8BDjRc9JMKGzQ==”