Enums§
- Decrypt
Outcome - Outcome of
try_decrypt_message_typed— distinguishes a body that genuinely AEAD-decrypted from one that was merely passed through (plaintext or a fail-open decrypt failure).
Functions§
- decrypt_
body - BRC-78 decrypt an encrypted message body from a sender.
- encrypt_
body - BRC-78 encrypt a message body for a recipient.
- generate_
message_ id - Generate a deterministic HMAC-based message ID for idempotency.
- try_
decrypt_ message - Try to decrypt a message body, with graceful fallback for plaintext.
- try_
decrypt_ message_ typed - Typed sibling of
try_decrypt_messagethat additionally surfaces whether the body genuinely AEAD-decrypted.