Structs§
- Bytes
Encrypter impl Encryptable<T>
struct that can be used to encrypt and decrypt aVec<u8>
to anEncrypted
To encrypt arbitrary structs you can use thebincode
library to first convert the struct to bytes. You then can encrypt the serialized bytes to anEncrypted
.- Encrypted
- Represents the encrypted form of some bytes. Contains the salt and the data.
Traits§
- Encryptable
- This trait adds encrypt and decrypt functions to a type,
T