crypto_secretstream 0.2.0

Pure Rust implementation of libsodium's crypto_secretstream secret-key using ChaCha20 and Poly1305
Documentation
1
2
3
4
5
6
7
8
use chacha20::cipher::{
    consts::{U16, U8},
    generic_array::GenericArray,
};

pub type Nonce = GenericArray<u8, U8>;

pub type HChaCha20Nonce = GenericArray<u8, U16>;