Crate cdumay_sodium

Crate cdumay_sodium 

Source
Expand description

License: BSD-3-Clause cdumay_sodium on crates.io cdumay_sodium on docs.rs Source Code Repository

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§

FailedToOpenSealedBox
Error : FailedToOpenSealedBox (Kind: ValidationError)
FailedToOpenSecretBox
Error : FailedToOpenSecretBox (Kind: ValidationError)
InvalidBoxKeyLength
Error : InvalidBoxKeyLength (Kind: InvalidConfiguration)
InvalidBoxNonceLength
Error : InvalidBoxNonceLength (Kind: InvalidConfiguration)
InvalidContent
Error : InvalidContent (Kind: ValidationError)