4 ms·
Interesting idea, but the actual implementation seems to be a very simple encryption scheme, for each byte, decrypted byte = plain text - key Doesn't seem like
by rmc 14y ago
Interesting idea, but the actual implementation seems to be a very simple encryption scheme, for each byte, decrypted byte = plain text - key
Doesn't seem like a great encryption system, right?
View the source here: https://lucb1e.com/rp/php/secrypt/?source https://lucb1e.com/rp/php/secrypt/?source
- 430gj9j 14y agoThe key is the same length as the data, making this a one-time pad rather than XOR encryption. http://en.wikipedia.org/wiki/One-time_pad http://en.wikipedia.org/wiki/One-time_pad
- lucb1e 14y ago"rather than XOR encryption." Nobody never mentioned that it used xor..?
- squarelegs 14y agoXOR encryption is a one-time pad encryption over an alphabet of two letters, you might be thinking of something like a Vigenère cipher applied to binary data.
- lucb1e 14y agoIt's more of a proof-of-concept than anything else. Using the tool correctly though, I don't see any way to break it.
- DanBC 14y agoIt's a one time pad, but working backwards. One time pads are secure, but you have to meet strict requirements for them to be secure. Those requirements are i: the pad must be truly random. ii: the pad must be unique There's no randomness here. And there's no mention of the need for a unique pad. It's trivially crackable. But it's a neat proof of concept.