salty v0.1.2 Salty.Generichash behaviour View Source

Link to this section Summary

Link to this section Functions

Link to this section Callbacks

Link to this callback bytes() View Source
bytes() :: non_neg_integer
Link to this callback bytes_max() View Source
bytes_max() :: non_neg_integer
Link to this callback bytes_min() View Source
bytes_min() :: non_neg_integer
Link to this callback final(binary, non_neg_integer) View Source
final(binary, non_neg_integer) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback final_verify(binary, binary) View Source
final_verify(binary, binary) :: :ok | {:error, atom}
Link to this callback hash(binary, binary, binary) View Source
hash(binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback init(binary, non_neg_integer) View Source
init(binary, non_neg_integer) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback keybytes() View Source
keybytes() :: non_neg_integer
Link to this callback keybytes_max() View Source
keybytes_max() :: non_neg_integer
Link to this callback keybytes_min() View Source
keybytes_min() :: non_neg_integer
Link to this callback update(binary, binary) View Source
update(binary, binary) :: {:ok, binary} | {:error, atom}