Quantum Armor is a migration tool that automatically converts legacy cryptographic code (RSA, ECC, DSA, DH, etc.) to NIST-approved quantum-resistant algorithms (Kyber/ML-KEM or Dilithium) with a single command. With Quantum Armor, your Python (& JS) projects become future-proof without manual code updates—just migrate and go!
- Multi-Algorithm Support:
Finds and migrates legacy key generation code for RSA, ECC, DSA, and DH to post-quantum cryptography (PQC). - User-Selectable PQC Algorithms (CLI & GUI):
Choose Kyber (ML-KEM), Dilithium, or others interactively for migration. - Automatic Migration & JSON Reporting:
Every change is reported and documented in a JSON migration report. - Rollback (Backup/Restore):
Automatically backs up files before migration; revert to originals with a single command. - Migration Test Script:
Automatically tests and validates successful migration and PQC compliance. - Multi-Language Demo:
Python and JavaScript support—see examples for legacy → PQC transformation in both. - Simple Web GUI (Flask):
Migrate your project from a user-friendly web interface. - Easy Integration:
Use from the command line or integrate as a module for your custom automations.
pip install kyber-py dilithium-py flaskpython quantum_armor/migrators/main.py- Choose your preferred PQC algorithm: Kyber or Dilithium.
- Automatically migrates all legacy cryptography code in your project.
- Detailed changes are logged to
migration_report.json.
Rollback:
python quantum_armor/migrators/main.py rollbackRestores all changed files from backups.
python quantum_armor/migrators/web_gui.py- Open your browser at
localhost:5000. - Select project path and PQC algorithm, and start migration from the web interface.
Automatically checks and validates migrated code:
python quantum_armor/migrators/test_migration.pyUse js_migrator_demo.js to migrate legacy JS cryptography code to PQC.
Your project is now quantum-resistant!
With Quantum Armor, your code is secure against the threats of future quantum computers, and ready for adoption in any modern cryptographic workflow.
For more examples and documentation:
Contributions, improvements, and new algorithms are welcome!
For questions, see issues page.
All algorithms are NIST-compliant. Quantum Armor is the leading tool for future-proofing your legacy cryptography code.