Pure Python implementation of ChaCha cipher
Implementation that follows RFC 7539 closely.
Bases: object
object
Pure python implementation of ChaCha cipher
Set the initial state for the ChaCha cipher
Generate a state of a single block
Decrypt the data
Perform two rounds of ChaCha cipher
Encrypt the data
Perform a ChaCha quarter round
Rotate left a 32 bit integer v by c bits
Convert state to little endian bytestream