Macaroon.Util.Crypto (macaroon v0.2.0)

This module contains utility cryptographic functions

Link to this section Summary

Link to this section Functions

Link to this function

create_derived_key(key)

Specs

create_derived_key(binary()) :: binary()
Link to this function

hmac_concat(key, dataA, dataB)

Specs

hmac_concat(binary(), binary(), binary()) :: binary()
Link to this function

truncate_or_pad_string(str, target_len \\ 32)

Specs

truncate_or_pad_string(binary(), number()) :: binary()