salty v0.1.2 Salty.Box behaviour View Source

Link to this section Summary

Link to this section Functions

Link to this section Callbacks

Link to this callback beforenm(binary, binary) View Source
beforenm(binary, binary) :: {:ok, binary} | {:error, atom}
Link to this callback detached(binary, binary, binary, binary) View Source
detached(binary, binary, binary, binary) ::
  {:ok, binary, binary} |
  {:error, atom}
Link to this callback detached_afternm(binary, binary, binary) View Source
detached_afternm(binary, binary, binary) ::
  {:ok, binary, binary} |
  {:error, atom}
Link to this callback easy(binary, binary, binary, binary) View Source
easy(binary, binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback easy_afternm(binary, binary, binary) View Source
easy_afternm(binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback keypair() View Source
keypair() :: {:ok, binary, binary} | {:error, atom}
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_detached(binary, binary, binary, binary, binary) View Source
open_detached(binary, binary, binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback open_detached_afternm(binary, binary, binary, binary) View Source
open_detached_afternm(binary, binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback open_easy(binary, binary, binary, binary) View Source
open_easy(binary, binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback open_easy_afternm(binary, binary, binary) View Source
open_easy_afternm(binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback publickeybytes() View Source
publickeybytes() :: non_neg_integer
Link to this callback seal(binary, binary) View Source
seal(binary, binary) :: {:ok, binary} | {:error, atom}
Link to this callback seal_open(binary, binary, binary) View Source
seal_open(binary, binary, binary) ::
  {:ok, binary} |
  {:error, atom}
Link to this callback sealbytes() View Source
sealbytes() :: non_neg_integer
Link to this callback secretkeybytes() View Source
secretkeybytes() :: non_neg_integer
Link to this callback seed_keypair(binary) View Source
seed_keypair(binary) :: {:ok, binary, binary} | {:error, atom}
Link to this callback seedbytes() View Source
seedbytes() :: non_neg_integer