salty v0.1.2 Salty.Auth behaviour View Source

Link to this section Summary

Link to this section Functions

Link to this section Callbacks

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