Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 188 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 188 Bytes

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);