aead-io
Provides a wrapper around a Write/Read object and a
StreamPrimitive to provide an easy interface for doing
correct encryption.
let key = b"my very super super secret key!!".into;
let plaintext = b"hello world!";
let ciphertext = ;
let decrypted = ;
assert_eq!;
#
no_std
This package is compatible with no_std environments. Just disable the default features, and
implement the Buffer, CappedBuffer,
ResizeBuffer, Write and
Read accordingly. There should be some default implementations for Vec<u8>
and byte slices
License: MIT OR Apache-2.0