Struct octavo_crypto::stream::chacha20::ChaCha20
[−]
[src]
pub struct ChaCha20 { /* fields omitted */ }
Methods
impl ChaCha20
[src]
fn init(key: &[u8], nonce: &[u8], position: u32) -> Self
fn new<Key, Nonce>(key: Key, nonce: Nonce) -> Self where
Key: AsRef<[u8]>,
Nonce: AsRef<[u8]>,
Key: AsRef<[u8]>,
Nonce: AsRef<[u8]>,