encrypt/chacha20_prefix library
Classes
- ChaCha20
- ChaCha20withPrefix
- This is what a block looks like in ChaCha: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Each element (number) in the matrix consists of 32 bits or 8 hexadecimal numbers.
Functions
-
chacha20block(
List key, int counter, List nonce) → BigInt - Here the block is created with the elements from the constants, key, block counter and the nonce.