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.pyNovaEncryptor-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.txtPermission Denied (Unix):
# Fix launcher script permissions
chmod +x nova-encryptor.shPython Not Found (Windows):
# Make sure Python is in PATH, or use full path
C:\Users\YourName\AppData\Local\Programs\Python\Python311\python.exeVirtual 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