Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sort of. A one time pad does not destroy data, but a hash will.

Wikipedia has a good example: https://en.wikipedia.org/wiki/One-time_pad

In their example, "HELLO" is the plain text, "XMCKL" is the key, and the ciphertext is "EQNVZ". However, with a one time pad, an equally plausible plain text is "later" with the key "TQURI". Thus, without anymore data, it is simply impossible to know what the original message is.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: