Crate serde_encrypt[−][src]
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
encrypt | Encryption implementation |
key | |
serialize | Serializer trait and default implementation. |
shared_key | serde-serializable shared key. |
traits | Traits to enable encrypted-serialization to your struct/enum. |
Structs
EncryptedMessage | Encrypted message structure. |
Error | Error type. |
ReceiverCombinedKey | ( |
SenderCombinedKey | ( |
Enums
ErrorKind | Kinds of errors. |
Traits
AsSharedKey | 32-byte key shared among sender and receiver secretly. |
ReceiverKeyPairCore | X25519 Key-pair generated by receiver. |
SenderKeyPairCore | X25519 Key-pair generated by sender. |