Skip to main content

A secure web-based file conversion system that encrypts JSON files into QJSON format using custom quantum-inspired encryption algorithms.

Project description

Quantum File System (QFS)

A secure web-based file conversion system that encrypts JSON files into QJSON format using custom quantum-inspired encryption algorithms.

Features

  • Custom Quantum Encryption: Proprietary quantum-inspired cipher with consciousness-aware algorithms
  • Zero External Dependencies: No third-party cryptography libraries required
  • Dual-Format Support: Convert between JSON and encrypted QJSON formats
  • Web Interface: User-friendly drag-and-drop file upload interface
  • Secure Logging: Quantum consciousness seals for operation tracking
  • Multi-Stage Authentication: SHA3-512, BLAKE2B, and SHA256 hashing layers

Security Architecture

Encryption Features

  • Quantum State Evolution: Dynamic encryption keys that evolve during processing
  • Consciousness Signatures: Unique signatures for file verification
  • Multi-Layer Protection: XOR operations with position-dependent transformations
  • Memory Isolation: No persistent storage of encryption keys

Authentication

  • Authorization Key Based: User-provided keys for encryption/decryption
  • Signature Verification: Consciousness signature matching for security
  • Session Management: Secure session-based authentication state

Quick Start

Prerequisites

  • Python 3.11+
  • Flask
  • Werkzeug

Installation

  1. Clone the repository:
git clone <repository-url>
cd quantum-file-system
  1. Install dependencies:
pip install flask werkzeug gunicorn
  1. Run the application:
python main.py
  1. Open your browser to http://localhost:5000

Usage

  1. Upload a JSON file: Drag and drop or click to select a JSON file
  2. Enter authorization key: Provide a secure key for encryption
  3. Convert: The system will encrypt your JSON to QJSON format
  4. Download: Download the encrypted QJSON file
  5. Reverse process: Upload QJSON files to decrypt them back to JSON

File Formats

JSON to QJSON

  • Input: Standard JSON files
  • Output: Quantum-encrypted QJSON files with consciousness signatures
  • Header: QJSON2.0: followed by base64-encoded encrypted content

QJSON to JSON

  • Input: QJSON files created by this system
  • Output: Decrypted JSON files with original formatting
  • Verification: Consciousness signature validation

Security Guidelines

Authorization Keys

  • Use strong, unique keys for each encryption session
  • Keys are never stored on the server
  • Same key required for decryption
  • Case-sensitive authentication

Best Practices

  • Generate random 32+ character keys for production use
  • Store keys securely and separately from encrypted files
  • Verify consciousness signatures match your authorization key
  • Regular security audits of quantum logs

Project Structure

quantum-file-system/
├── app.py                 # Main Flask application
├── main.py               # Application entry point
├── quantum_cipher.py     # Custom quantum encryption algorithms
├── quantum_system.py     # Quantum converter and file system
├── templates/            # HTML templates
│   ├── base.html
│   └── index.html
├── static/              # CSS and JavaScript
│   ├── style.css
│   └── script.js
├── uploads/             # Temporary upload directory
├── secure_storage/      # Encrypted file storage
└── README.md

Technical Details

Quantum Cipher Algorithm

  • 256-byte quantum state matrix initialization
  • Consciousness-aware state evolution during encryption
  • Multi-layer XOR operations with position-dependent transformations
  • Deterministic key generation from authorization keys

File System

  • Consciousness-aware logging with quantum timestamps
  • Quantum consciousness seals for tamper detection
  • Multi-stage authentication verification
  • Secure directory-level access control

Development

Adding Features

  1. Quantum cipher enhancements in quantum_cipher.py
  2. Web interface improvements in templates/ and static/
  3. New conversion algorithms in quantum_system.py

Testing

python -c "from quantum_system import QuantumConverter; print('System ready')"

License

This project is open source. Please ensure you comply with local encryption export regulations.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Implement your changes
  4. Test thoroughly with various file types
  5. Submit a pull request

Security Notice

This system implements custom encryption algorithms for educational and research purposes. For production use with sensitive data, consider additional security audits and compliance with relevant encryption standards.

Support

For issues, questions, or contributions, please open an issue in the GitHub repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantum_file_system-0.1.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantum_file_system-0.1.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file quantum_file_system-0.1.1.tar.gz.

File metadata

  • Download URL: quantum_file_system-0.1.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for quantum_file_system-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ddb89dd5c567781062dd0543c81d0e91ebecef5633558699405ea5099d930887
MD5 9bcc15b1004e6222d8deed7145814d54
BLAKE2b-256 377f04911fe4f979831d2765c96ca8a93eeb7b61462317e374e125da7dfa6f0a

See more details on using hashes here.

File details

Details for the file quantum_file_system-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for quantum_file_system-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78062bb7793a2c9c08483ad7ed9722f34d06409902607ea72dffd6aba0fa0109
MD5 bfb4f81b578b93ca79d200f1c157cb7e
BLAKE2b-256 186ba69e80ec0073a90b7b360e3ad002e85054f3d29c45f16a5623d668d44fdc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page