Function simplestcrypt::encrypt_and_serialize
source · [−]Expand description
Encrypts the given bytes using a random nonce using Aes128SivAed, and then serializes the encryption along with the nonce using bincode. The resulting vector is then bincode serialized Encrypted structure
Password cannot be longer than 32 bytes