Requiem.RetryToken.Protector (requiem v0.4.0)

Link to this section Summary

Link to this section Functions

Link to this function

decrypt(secret, nonce, tag, token)

Specs

decrypt(binary(), binary(), binary(), binary()) :: {:ok, binary()} | :error
Link to this function

derive_key_and_iv(secret, nonce)

Specs

derive_key_and_iv(binary(), binary()) :: {:ok, binary(), binary()} | :error
Link to this function

encrypt(secret, nonce, token)

Specs

encrypt(binary(), binary(), binary()) :: {:ok, binary(), binary()} | :error