How abyanptrn/clavis works
Clavis is a single-file interactive CLI for encrypting and decrypting text or files with AES-GCM. The workflow selects an operation and input type, obtains a password, then dispatches to text or file handling; both use the same salted encryption format and scrypt-derived key. File handling reads the source and writes a derived output path. All runtime code is in clavis.py; relationships shown are supported by its excerpt. There is no README or evidence of additional product subsystems.
Main entry points: clavis.py CLI orchestration
Components 9
Other components
- User
- CLI orchestration
clavis.py - Menu and password prompts
clavis.py - Text processing
clavis.py - File processing
clavis.py - Encrypt and decrypt
clavis.py - Scrypt key derivation
clavis.py - AES-GCM library
- Local filesystem
Connections 11
- User → CLI orchestration: starts
clavis.py - CLI orchestration → Menu and password prompts: requests choices
clavis.py - Menu and password prompts → User: prompts for input
clavis.py - CLI orchestration → Text processing: dispatches to
clavis.py - CLI orchestration → File processing: dispatches to
clavis.py - Text processing → User: reads and prints
clavis.py - File processing → Local filesystem: reads and writes
clavis.py - Text processing → Encrypt and decrypt: encrypts or decrypts
clavis.py - File processing → Encrypt and decrypt: encrypts or decrypts
clavis.py - Encrypt and decrypt → Scrypt key derivation: derives key
clavis.py - Encrypt and decrypt → AES-GCM library: encrypts or decrypts
clavis.py