Salty.Kdf behaviour (libsalty2 v0.3.0) View Source

Link to this section Summary

Link to this section Callbacks

Specs

bytes_max() :: pos_integer()

Specs

bytes_min() :: pos_integer()

Specs

contextbytes() :: pos_integer()
Link to this callback

derive_from_key(pos_integer, non_neg_integer, binary, binary)

View Source

Specs

derive_from_key(pos_integer(), non_neg_integer(), binary(), binary()) ::
  {:ok, binary()} | {:error, atom()}

Specs

keybytes() :: pos_integer()

Link to this section Functions