Macfly.Crypto (macfly v0.2.11)
Summary
Types
Link to this type
ciphertext()
@type ciphertext() :: <<_::224, _::_*8>>
Link to this type
key()
@type key() :: <<_::256>>
Functions
Link to this function
rand(n)
Link to this function
seal(plaintext, key)
Link to this function
sign(msg, key)
Link to this function
unseal(ciphertext, key)
@spec unseal(ciphertext(), key()) :: {:ok, binary()} | {:error, any()}