salty v0.1.2 Salty.Secretbox behaviour View Source

Link to this section Summary

Link to this section Functions

Link to this section Callbacks

Link to this callback keybytes() View Source
keybytes() :: non_neg_integer
Link to this callback macbytes() View Source
macbytes() :: non_neg_integer
Link to this callback noncebytes() View Source
noncebytes() :: non_neg_integer
Link to this callback open(binary, binary, binary) View Source
open(binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback open_detached(binary, binary, binary, binary) View Source
open_detached(binary, binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback seal(binary, binary, binary) View Source
seal(binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback seal_detached(binary, binary, binary) View Source
seal_detached(binary, binary, binary) ::
  {:ok, binary, binary} |
  {:error, atom}