A compact, pure-Python implementation of ChaCha20-Poly1305 AEAD based on RFC 8439, with an interactive CLI for encrypting or decrypting a single file or an entire directory.
The script uses only Python's standard library. It keeps file names and directory structure unchanged and generates a fresh 96-bit nonce for every encrypted file.
https://github.com/wangyifan349/pychacha20