How stellarispulvis/encrypt-tool works
Encrypt Tool is a small command-line utility: users generate a Fernet key, then encrypt or decrypt files using that key and configurable storage location. The single source file owns command dispatch, configuration, key handling, and file operations. The README documents these capabilities; all implementation relationships shown here are supported by the excerpted source.
Main entry points: encryptor.py Command dispatch
Components 12
Command line
- Command dispatch
encryptor.py - Help output
encryptor.py
Keys and crypto
- Key generation
encryptor.py - Key loading
encryptor.py - Fernet crypto
Configuration and files
- Config management
encryptor.py - config.toml
- Key file
- File encryption
encryptor.py - File decryption
encryptor.py
Other components
- User
- User files
Connections 18
- User → Command dispatch: runs commands
README.md - Command dispatch → Config management: initializes
encryptor.py - Command dispatch → Key generation: dispatches
encryptor.py - Command dispatch → File encryption: dispatches
encryptor.py - Command dispatch → File decryption: dispatches
encryptor.py - Command dispatch → Help output: displays
encryptor.py - Config management → config.toml: creates or reads
encryptor.py - Key generation → Config management: gets key location
encryptor.py - Key generation → Fernet crypto: generates key
encryptor.py - Key generation → Key file: writes key
encryptor.py - File encryption → Key loading: loads key
encryptor.py - File decryption → Key loading: loads key
encryptor.py - Key loading → Config management: gets key location
encryptor.py - Key loading → Key file: reads key
encryptor.py - File encryption → Fernet crypto: encrypts data
encryptor.py - File decryption → Fernet crypto: decrypts data
encryptor.py - File encryption → User files: reads and replaces
encryptor.py - File decryption → User files: reads and replaces
encryptor.py