Hacker News new | ask | show | jobs
by mwint 1575 days ago
Hashing would make the content irretrievable; something like XORing with the password would make the password recoverable if you know the content.
2 comments

XORing with the password sounds just splendid :D Caesar is asking for his cipher back.

That method wouldn't stop a determined 12 year old, let alone a competent attacker. Please use a properly engineered and implemented encryption instead of coming up with harebrained schemes.

Right, which is why you would never XOR in this manner, and would hash instead. You don't want the password or content retrievable that easily.