Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
plantbased
· 11y ago · 0 comments
Hey don't diss xor. If the key is at least as long as the message and is used once, it's unbreakable.
Comments
[–]
duaneb
11y ago
Well, to decrypt the xor'd data you need to keep the key around. So either you a) memorize the entire one-time pad for every file, or b) you encrypt the one-time pads with AES.
Now you have two encryption problems.
[–]
meowface
11y ago
If only there was a way of generating a pseudorandom stream of bytes with which to XOR against based on a shorter randomly generated key...
[–]
timq
11y ago
That's the famous one-time-pad :)