πŸŒ‹ Chaos Encryptor

Browser-first file encryption powered by video-based entropy

πŸŒ‹
Video Entropy Chaotic Motion β†’ Randomness
πŸ”¬ CSIDH-512 Isogeny Layer EXPERIMENTAL
πŸ›‘οΈ ML-KEM-1024 Quantum-Safe
πŸ” AES-256-GCM Core Encryption
πŸ“„ Your File
AES-256-GCM
ML-KEM-1024 / Hybrid
CSIDH-512

πŸ“‹ How It Works

Four options: Basic (AES only), Quantum-Safe (AES key wrapped with ML-KEM-1024 or hybrid X25519 + ML-KEM-1024), πŸŒ‹ Quantum-Safe + Extra Camera Mixing (more camera frames mixed into the key), or the πŸ”¬ Experimental CSIDH layer (research option). The browser's secure random generator is always mixed in.

πŸ” Understanding the Three Security Levels (click to expand)

Several major organizationsβ€”most famously Cloudflareβ€”use lava lamps as a real-world source of randomness to generate cryptographic entropy. In Cloudflare's San Francisco headquarters, a wall of hundreds of lava lamps is continuously filmed, and the constantly changing, unpredictable motion of the wax inside each lamp is converted into digital data. This randomness, derived from physical chaos, helps seed encryption keys used to secure internet traffic for millions of users.

The key reason this method is so valuable is that true randomness cannot be simulated by a computer alone. Software-based "random number generators" are actually pseudo-randomβ€”they rely on mathematical algorithms that, given the same input, will always produce the same output. Lava lamps, on the other hand, embody natural entropy: fluid dynamics, heat, light, and chaos that are impossible to precisely replicate or predict. By anchoring digital security in real-world unpredictability, systems like these protect cryptography from deterministic weaknesses and ensure genuinely secure encryption.

πŸ” Level 1: Basic (AES-256 Only)

Your file is encrypted with military-grade AES-256-GCM. You receive an encryption key that you must keep safe.

⚠️ Consideration: AES-256 itself remains strong even against quantum computers, but the bare encryption key is stored/transmitted without quantum-resistant protection. If you need to protect the key itself with post-quantum cryptography, use Level 2 or 3.


πŸ›‘οΈ Level 2: Quantum-Safe (AES + Post-Quantum Key Wrapping)

Your file is still encrypted with AES-256-GCM, but here's the critical difference: the AES encryption key is wrapped (protected) with ML-KEM-1024 or a hybrid X25519 + ML-KEM-1024 envelope.

πŸ’‘ How is this quantum-safe if the file is still AES-encrypted?

The encrypted file itself uses AES-256 (which remains strong against quantum attacks). The critical protection is that the AES key is never stored directly. Instead:

  1. The AES key is encapsulated using your ML-KEM public key
  2. The wrapped key is saved in a .mlkem.json file
  3. To decrypt, you need your post-quantum private key to unwrap the AES key
  4. ML-KEM is designed to resist quantum computer attacks

Result: The AES key is protected by a quantum-resistant wrapper. Without your private key, no one (including quantum computers) can extract the AES key from the .mlkem.json file.

πŸ“¦ What you keep: Encrypted file + .mlkem.json file + Your post-quantum private key (or the displayed AES key as backup)


πŸŒ‹ Level 3: Quantum-Safe + Extra Camera Mixing

This is Level 2 (Quantum-Safe) with more camera frames mixed into the file key. The system collects about 24 frames instead of 12, and every frame is hashed into the key.

πŸ”₯ What the camera does (and doesn't) do

The camera is added to the browser's secure random generator (crypto.getRandomValues), never used instead of it. That way a covered, frozen or fake camera can't make your key guessable, and a weak system generator alone can't either. The post-quantum key wrap always uses the browser's secure random generator, because feeding camera bytes into it directly was shown to be unsafe.

πŸŽ₯ Trade-off: Takes ~2-3 seconds longer to collect the extra frames.


πŸ”¬ Level 4: Experimental CSIDH Layer

This experimental option adds CSIDH-512 (an isogeny-based key exchange) as an extra wrapper around the post-quantum layer:

  1. AES-256-GCM encrypts your file
  2. ML-KEM-1024 (or hybrid X25519 + ML-KEM-1024) wraps the AES key
  3. CSIDH-512 wraps that post-quantum wrapper

⚠️ Honest strength note

CSIDH-512 is weaker than its name suggests β€” published analyses put it well below 128-bit security against quantum attackers β€” and this implementation is not constant-time, so it may leak key information through timing. Treat it as a research layer. Your real protection is the ML-KEM layer underneath.

πŸ“¦ What you keep: Encrypted file + .csidh.json + your post-quantum AND CSIDH private keys

⏱️ Performance: CSIDH operations take roughly a second extra

  1. 1 Before you start: Set up your entropy source (lava lamps, flowing water, traffic, trees in wind, etc.). If using quantum protection: generate your keys (ML-KEM-1024 is recommended; CSIDH-512 is experimental) first β€” you'll paste the public keys during encryption and save the private keys securely for later decryption
  2. 2 Enable your camera and point it at your chaos source. The system captures visual entropyTrue randomness from unpredictable physical chaos - continuously changing patterns create unguessable cryptographic material from the continuous motion
  3. 3 Choose your file to encrypt. For quantum protection: paste your post-quantumML-KEM-1024 or hybrid X25519 + ML-KEM-1024 public key from the key generator (older ML-KEM-768 keys also work) public key. For the experimental CSIDH layer: also paste your CSIDH-512Experimental isogeny-based public key; weaker than its name suggests and not constant-time public key (requires quantum protection to be enabled)
  4. 4 Click Encrypt. The system hashes the camera frames with SHA-256Standard cryptographic hash function, mixes them with the browser's secure random generator, derives your encryption key via HKDFGenerates strong keys from raw entropy, and encrypts with AES-256-GCMAuthenticated encryption: any change to the file or its header is detected. If quantum protection is enabled, the AES key is wrapped with ML-KEM-1024 (or the hybrid). If CSIDH is also enabled, an experimental extra layer wraps that. Camera stops automatically when done.
  5. 5 Download your encrypted file (.enc) and copy the encryption key (hidden by default - click the eye icon πŸ‘οΈ to view, or copy directly). With quantum protection: also download the .mlkem.json file. With CSIDH: also download the .csidh.json file. Without these keys, your file cannot be decrypted!
πŸ“Ή
βœ“
Video Entropy Source

Point your camera at chaotic motion: lava lamps, flowing water, traffic, trees in wind, or anything unpredictable.

πŸ’‘ More motion = better entropy. Avoid static scenes. Camera stops automatically after collecting entropy.

1 2 3
1
Choose File
πŸ“
Click or drag file here

Protect your encryption key with post-quantum cryptography ML-KEM-1024 (or a hybrid X25519 + ML-KEM-1024 key) wraps the AES key in a quantum-resistant envelope designed to protect against future quantum computer attacks on the key .

Ready to encrypt! The meter below shows current motion quality.

Encrypted files get a neutral name like chaos-3f9a1c07.enc. The real name comes back when the file is decrypted.

1 / 6