cc20 is a C implementation of the ChaCha20 algorithm. NOTE: This is not a secure or efficient implementation by any means and is only intended for education purpose.
gcc -o cc20 cc20.c ChaCha20.c fileIO.c md4.c
cc20 <-e|d|h> [-i inputfile] [-o outputfile]
Option | Default | Description |
---|---|---|
-i |
- |
Reads input from stdin |
-o |
- |
Print output to stdout |
cc20 -e -i plaintext -o ciphertext
cc20 -d -i ciphertext -o plaintext