โ— PHANTOM
๐Ÿ‡ฎ๐Ÿ‡ณ IN
โœ•
Skip to content

ZeroHack01/NovaEncryptor-v2

Repository files navigation

๐Ÿ›ก๏ธ NovaEncryptor v2.0 - Secure CLI Encryption Tool

A modern command-line encryption tool with hybrid RSA-4096 + AES-256-GCM encryption, password-protected keys, and cross-platform support.

Python 3.8+ License: MIT Cross-Platform

โœจ Features

  • ๐Ÿ” 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

๐Ÿš€ Quick Start

Prerequisites

  • Python 3.8+ (Python 3.10+ recommended)
  • Git (optional, for cloning)

Installation

# 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

๐Ÿ“‹ Platform-Specific Instructions

๐Ÿง Linux

# 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

๐ŸŽ macOS

# 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

๐ŸชŸ Windows

# 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

๐ŸŽฏ Usage Guide

Basic Operations

  1. Generate Keys: Select option 1 to create RSA-4096 keypair
  2. Encrypt Message: Select option 2, enter your message
  3. Decrypt Message: Select option 3, provide encrypted data and password
  4. List Keys: Select option 4 to view available keys
  5. View Config: Select option 5 to see current settings

Example Session

๐Ÿ“‹ 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!

File Locations

  • Linux/macOS: ~/.nova_encryptor/
  • Windows: %USERPROFILE%\.nova_encryptor\
.nova_encryptor/
โ”œโ”€โ”€ keys/          # RSA keypairs
โ”œโ”€โ”€ logs/          # Audit logs
โ””โ”€โ”€ config/        # Configuration files

๐Ÿ”ง Configuration

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
}

๐Ÿงช Testing

# 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

๐Ÿ“ Project Structure

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

๐Ÿ”’ Security

  • 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

โšก Performance

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

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new features
  5. Ensure all tests pass
  6. Submit a pull request

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ” Troubleshooting

Common Issues

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

๐Ÿ“ž Support

๐Ÿ™ Acknowledgments


Made with ๐Ÿ›ก๏ธ for secure communications

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages