Browser-first file encryption powered by video-based entropy
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.
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.
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.
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:
.mlkem.json file
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)
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.
This experimental option adds CSIDH-512 (an isogeny-based key exchange) as an extra wrapper around the post-quantum layer:
β οΈ 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
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.
π‘ Point your camera at the QR code displayed on the receiver's device. The public key will be automatically detected and imported.