Expand description
This crate provides functions and errors related to libsodium sealed-box and secret-box usages.
Modules§
- sealedbox
- Sealed boxes are designed to anonymously send messages to a recipient given their public key.
- secretbox
- In Libsodium, secretbox is a high-level authenticated symmetric encryption API. It allows you to encrypt and authenticate messages using a shared secret key.
Structs§
- Failed
ToOpen Sealed Box - Error : FailedToOpenSealedBox (Kind:
ValidationError) - Failed
ToOpen Secret Box - Error : FailedToOpenSecretBox (Kind:
ValidationError) - Invalid
BoxKey Length - Error : InvalidBoxKeyLength (Kind:
InvalidConfiguration) - Invalid
BoxNonce Length - Error : InvalidBoxNonceLength (Kind:
InvalidConfiguration) - Invalid
Content - Error : InvalidContent (Kind:
ValidationError)