logoalt Hacker News

pdpitoday at 2:03 AM2 repliesview on HN

XOR encryption is cheap and effective. Make the key the static string "IfYouCanReadThisYourCodeWillBreak" or something akin to that. That way, the key itself will serve as a final warning when (not if) the key gets cracked.


Replies

Retr0idtoday at 2:16 AM

Any symmetric encryption is ~free compared to the cost of a network request or db query.

In this particular instance, Speck would be ideal since it supports a 96-bit block size https://en.wikipedia.org/wiki/Speck_(cipher)

show 1 reply
maxbondtoday at 2:18 AM

A cryptographer may quibble and call that an encoding but I agree.

show 1 reply