LOCAL CRYPTOGRAPHY

Encryption Lab

Run a local round trip, then select any stage to inspect its inputs and outputs. Each run generates fresh keys in your browser and checks whether a changed packet is rejected.

Run the experiment to inspect a real encrypted packet.

From the lab to a real message

The lab creates both sides of the exchange in one browser. In the mailbox, the sender reads the recipient’s registered encryption key from Solana and seals separate recipient and sender copies. The sender’s wallet signs a commitment to the encrypted envelope. The relay stores the envelope, and the recipient’s browser verifies the commitment before attempting decryption.

Solana can expose sender and recipient addresses and transaction timing. The wallet authorises the transaction, while the ML-KEM key pair protects the message content.