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

Link to this section Summary

Link to this section Callbacks

Specs

keybytes() :: non_neg_integer()

Specs

noncebytes() :: non_neg_integer()
Link to this callback

stream(pos_integer, binary, binary)

View Source

Specs

stream(pos_integer(), binary(), binary()) :: {:ok, binary()} | {:error, atom()}
Link to this callback

xor(binary, binary, binary)

View Source

Specs

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

Link to this section Functions