Crate encryptable

Source

Structs§

BytesEncrypter
impl Encryptable<T> struct that can be used to encrypt and decrypt a Vec<u8> to an Encrypted To encrypt arbitrary structs you can use the bincode library to first convert the struct to bytes. You then can encrypt the serialized bytes to an Encrypted.
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