A modern command-line encryption tool with hybrid RSA-4096 + AES-256-GCM encryption, password-protected keys, and cross-platform support.
- π Hybrid Encryption: RSA-4096 + AES-256-GCM for maximum security
- π Password Protection: Argon2 key derivation for private keys
- π» Cross-Platform: Works on Linux, macOS, and Windows
- π¨ Interactive CLI: Beautiful command-line interface with menus
- π Audit Logging: Track all encryption/decryption operations
- π‘οΈ Memory Safe: Secure deletion of sensitive data
- β‘ Fast Setup: Automated installation script
- Python 3.8+ (Python 3.10+ recommended)
- Git (optional, for cloning)
# Clone the repository
git clone https://github.com/ZeroHack01/NovaEncryptor-v2.git
cd NovaEncryptor-v2
# Run automated setup
python3 scripts/setup.py # Linux/macOS
python scripts/setup.py # Windows
# Activate virtual environment
source nova_env/bin/activate # Linux/macOS
nova_env\Scripts\activate # Windows
# Launch application
python src/nova_encryptor.py
# Ubuntu/Debian - Install Python if needed
sudo apt update
sudo apt install python3 python3-pip python3-venv git
# Clone and setup
git clone https://github.com/ZeroHack01/NovaEncryptor-v2.git
cd NovaEncryptor-v2
python3 scripts/setup.py
source nova_env/bin/activate
python src/nova_encryptor.py
# Or use launcher script
chmod +x nova-encryptor.sh
./nova-encryptor.sh
# Install Python using Homebrew (recommended)
brew install python3 git
# Clone and setup
git clone https://github.com/ZeroHack01/NovaEncryptor-v2.git
cd NovaEncryptor-v2
python3 scripts/setup.py
source nova_env/bin/activate
python src/nova_encryptor.py
# Or use launcher script
chmod +x nova-encryptor.sh
./nova-encryptor.sh
# Install Python from python.org (check "Add to PATH")
# Or use winget: winget install Python.Python.3.11
# Open PowerShell/Command Prompt
git clone https://github.com/ZeroHack01/NovaEncryptor-v2.git
cd NovaEncryptor-v2
python scripts/setup.py
nova_env\Scripts\activate
python src/nova_encryptor.py
# Or use launcher script
nova-encryptor.bat
- Generate Keys: Select option 1 to create RSA-4096 keypair
- Encrypt Message: Select option 2, enter your message
- Decrypt Message: Select option 3, provide encrypted data and password
- List Keys: Select option 4 to view available keys
- View Config: Select option 5 to see current settings
π Main Menu
ββββββββββββ³ββββββββββββββββββββββββββββββ
β Option β Action β
β‘βββββββββββββββββββββββββββββββββββββββββ©
β 1 β π Generate new RSA keypair β
β 2 β π Encrypt message β
β 3 β π Decrypt message β
β 4 β π List keys β
β 5 β βοΈ View configuration β
β 6 β π View audit log β
β 0 β πͺ Exit β
ββββββββββββ΄ββββββββββββββββββββββββββββββ
Select option [0/1/2/3/4/5/6]: 1
π Key Generation
Protect private key with password? [y/n]: y
Enter password: ********
Confirm password: ********
β
Keypair generated successfully!
- Linux/macOS:
~/.nova_encryptor/
- Windows:
%USERPROFILE%\.nova_encryptor\
.nova_encryptor/
βββ keys/ # RSA keypairs
βββ logs/ # Audit logs
βββ config/ # Configuration files
Edit ~/.nova_encryptor/config.json
to customize settings:
{
"rsa_key_size": 4096,
"aes_key_size": 32,
"argon2_time_cost": 3,
"argon2_memory_cost": 65536,
"audit_enabled": true
}
# Activate virtual environment first
source nova_env/bin/activate # Linux/macOS
nova_env\Scripts\activate # Windows
# Run test suite
python -m pytest tests/ -v
# Run security checks
python -m bandit src/nova_encryptor.py
NovaEncryptor-v2/
βββ src/
β βββ nova_encryptor.py # Main application
βββ tests/
β βββ test_nova_encryptor.py # Test suite
βββ scripts/
β βββ setup.py # Automated setup
βββ .github/workflows/ # GitHub Actions
βββ requirements.txt # Python dependencies
βββ nova-encryptor.sh # Unix launcher
βββ nova-encryptor.bat # Windows launcher
βββ README.md # This file
βββ LICENSE # MIT license
βββ .gitignore # Git ignore rules
- RSA-4096: Quantum-resistant until 2040+
- AES-256-GCM: Authenticated encryption with 256-bit keys
- Argon2: Password-based key derivation (PHC winner)
- Secure Memory: Automatic cleanup of sensitive data
- Audit Trail: Complete logging of all operations
Operation | Time | Notes |
---|---|---|
Key Generation (RSA-4096) | ~2s | One-time setup |
Encryption (1KB) | ~12ms | Very fast |
Decryption (1KB) | ~6ms | Lightning fast |
Memory Usage | ~18MB | Minimal footprint |
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new features
- Ensure all tests pass
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
Import Error:
# Make sure virtual environment is activated
source nova_env/bin/activate # Linux/macOS
nova_env\Scripts\activate # Windows
# Reinstall dependencies
pip install -r requirements.txt
Permission Denied (Unix):
# Fix launcher script permissions
chmod +x nova-encryptor.sh
Python Not Found (Windows):
# Make sure Python is in PATH, or use full path
C:\Users\YourName\AppData\Local\Programs\Python\Python311\python.exe
Virtual Environment Issues:
# Delete and recreate
rm -rf nova_env/ # Linux/macOS
rmdir /s nova_env\ # Windows
# Run setup again
python3 scripts/setup.py # Linux/macOS
python scripts/setup.py # Windows
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Security: See SECURITY.md for security policy
- PyCA Cryptography - Cryptographic library
- argon2-cffi - Password hashing
- Rich - Beautiful terminal interface
Made with π‘οΈ for secure communications