Live demo · one-time-pad allocation

You are the network.

Five parties share a pool of one-time pads, and no pad may ever be used twice. You send their messages and choose which undelivered one the network hands over next. The repo's own protocol code picks every pad, and each one is checked against every pad used before it.

Downloads Pyodide 0.29.5 from cdn.jsdelivr.net, about 5.3 MB compressed, once; your browser caches it. The test job in the CI tab adds pytest, about 1.6 MB more.