chacha20-c ChaCha20 stream cipher implemented in C struct chacha20_context ctx; chacha20_init_context(&ctx, key, nonce, counter); chacha20_xor(&ctx, buffer, size_of_buffer);