Salty.Kx behaviour (libsalty2 v0.3.0) View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback

client_session_keys(binary, binary, binary)

View Source

Specs

client_session_keys(binary(), binary(), binary()) ::
  {:ok, binary(), binary()} | {:error, atom()}

Specs

keypair() :: {:ok, binary(), binary()} | {:error, atom()}

Specs

publickeybytes() :: pos_integer()

Specs

secretkeybytes() :: pos_integer()

Specs

seed_keypair(binary()) :: {:ok, binary(), binary()} | {:error, atom()}

Specs

seedbytes() :: pos_integer()
Link to this callback

server_session_keys(binary, binary, binary)

View Source

Specs

server_session_keys(binary(), binary(), binary()) ::
  {:ok, binary(), binary()} | {:error, atom()}

Specs

sessionkeybytes() :: pos_integer()

Link to this section Functions