chacha8_block
stdlib/chacha/chacha8_block.nbv
chacha8_block(key, iv)
ChaCha8 block function, see chacha_block. key is 256 bits, iv the 128 bits of counter and nonce. Returns 512 keystream bits.
- Calls
chacha/chacha_block
Source
# ChaCha8 block function, see chacha_block. `key` is 256 bits, `iv` the 128
# bits of counter and nonce. Returns 512 keystream bits.
(key, iv)
chacha_block(8, key, iv)