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.

GitHub
GitHub - wangyifan349/pychacha20: Pure Python implementation of ChaCha20-Poly1305 with an interactive CLI for secure file and directory encryption.
Pure Python implementation of ChaCha20-Poly1305 with an interactive CLI for secure file and directory encryption. - wangyifan349/pychacha20