Experience the magic of quantum cryptography - A visually stunning, interactive simulation of the BB84 protocol that makes quantum key distribution accessible to everyone.
- Interactive Visualization: Watch as Alice sends quantum bits to Bob through an animated quantum channel
- Eve the Eavesdropper: Toggle Eve's interference to see how quantum mechanics detects spies
- Step-by-Step Learning: Follow each stage of the protocol with clear visual explanations
- Realistic Physics: Accurate simulation of quantum measurements and basis mismatches
- Error Detection: See how Alice and Bob can detect eavesdropping by comparing measurement results
- Mobile-Friendly: Fully responsive design works on all devices
The BB84 protocol, developed by Bennett and Brassard in 1984, uses the fundamental principles of quantum mechanics to create an unbreakable encryption key:
- Alice prepares qubits in random bases (rectilinear or diagonal)
- Bob measures each qubit in randomly chosen bases
- They compare basis choices to establish a shared secret key
- Eve's interference introduces detectable errors when she tries to intercept
This simulation brings that process to life with beautiful animations and interactive controls.
No installation needed! Just visit the live demo.
Perfect for:
- Computer science students learning about cryptography
- Physics students exploring quantum mechanics applications
- Educators looking for engaging teaching tools
- Anyone curious about quantum technologies
In an era of increasing cyber threats, quantum cryptography offers provably secure communication. This simulation demonstrates how we can leverage the strange properties of quantum mechanics to protect our digital future.
Found a bug? Have an improvement? Contributions are welcome!
- Fork the repository
- Create your feature branch (git checkout -b feature/amazing-feature)
- Commit your changes (git commit -m 'Add some amazing feature')
- Push to the branch (git push origin feature/amazing-feature)
- Open a Pull Request
MIT License - see LICENSE for details.
Inspired by the groundbreaking work of Charles Bennett and Gilles Brassard Built with pure HTML, CSS, and JavaScript (no frameworks!) Quantum animations crafted with love and CSS magic
Live Simulation - https://qryptotalk.netlify.app/ Email - abhinaw00singh@gmail.com