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

Link to this section Summary

Link to this section Callbacks

Specs

bytes() :: non_neg_integer()

Specs

hash(binary()) :: {:ok, binary()} | {:error, atom()}

Specs

init() :: {:ok, binary()} | {:error, atom()}

Specs

verify(binary(), binary()) :: :ok | {:error, atom()}

Link to this section Functions