Reset the cipher to its initial state. Same as calling start() with same parameters again. Warning: Don't encrypt different data with the same initial state.
Process a single byte.
Initialize the ChaCha20 stream cipher.
Performs the ChaCha block function on inState, result in outState
Performs the ChaCha block function on inState, result in outState
Set the state as follows: state = constants ~ key ~ counter ~ nonce
Implementation of the ChaCha stream cipher as first described by D. J. Bernstein (http://cr.yp.to/chacha.html), following RFC 7539.
Standard: RFC 7539
Note: This might not be compatible with BouncyCastle's implementation because that one uses a 64-bit counter.