Crate serde_encrypt
source · [−]Expand description
serde-encrypt encrypts/decrypts any strct
s and enum
s that implement serde::{Serialize, Deserialize
}.
See README.md for basic usage and implementation details.
Modules
Encryption implementation
Serializer trait and default implementation.
serde-serializable shared key.
Traits to enable encrypted-serialization to your struct/enum.
Structs
Encrypted message structure.
Error type.
(Alice's public key
, Bob's private key
) pair.
(Alice's private key
, Bob's public key
) pair.
Enums
Kinds of errors.
Traits
32-byte key shared among sender and receiver secretly.
X25519 Key-pair generated by receiver.
X25519 Key-pair generated by sender.