OpenmaizeJWT v1.0.0 OpenmaizeJWT.Tools

Various tools that are used with the management of JSON Web Tokens.

Summary

Functions

Generate a signing salt for use with this module

The hash to be used when checking the signature

Functions

gen_key(length \\ 64)

Generate a signing salt for use with this module.

After running gen_key, add the following lines to your config:

config :openmaize,
  signing_key: "generated key"
get_mac(data, alg, key)

The hash to be used when checking the signature.