Try Notedeck free · More Cryptography demos
← Notedeck 密码学 · One-time pad · XOR secrecy & key reuse Try in Notedeck

One-time pad · XOR secrecy & key reuse — interactive Cryptography demo

c = m ⊕ k is perfectly secret used once — and leaks m₁⊕m₂ if the key repeats

Run this interactive Cryptography demo live below, or download it as a single self-contained HTML file that works offline in any browser or LMS — one of 1,900+ free interactive teaching demos on Notedeck. With Notedeck you upload your own materials and turn them into interactive courseware, question papers with answer keys, and AI-taught lessons.