Svalinn v0.0.4 Svalinn.Util View Source

Link to this section Summary

Link to this section Functions

Link to this function decrypt(data) View Source
decrypt(binary()) :: {:ok, binary()} | {:error, :decryption_failed}
Link to this function encrypt(data) View Source
encrypt(binary()) :: {:ok, binary()} | {:error, :encryption_failed}
Link to this function prefix(arg) View Source
prefix(binary()) :: {:ok, pos_integer(), atom()} | {:error, :invalid_prefix}
Link to this function prefix(version, encoding) View Source
prefix(pos_integer(), atom()) ::
  {:ok, binary()} | {:error, :prefix_generation_failed}