Hacker News new | ask | show | jobs
by oxplot 2291 days ago
You can check for a magic string after decryption and only update the screen if valid.
1 comments

At this point you might as well just require a plaintext password to update the screen, and forget the XOR.