salty v0.1.2 Salty.Shorthash behaviour View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback bytes() View Source
bytes() :: non_neg_integer
Link to this callback hash(binary, binary) View Source
hash(binary, binary) :: {:ok, binary} | {:error, atom}
Link to this callback keybytes() View Source
keybytes() :: non_neg_integer