News for hackers. Stuff that matters.
Re:Ask HN: Best way to encode Wordle words? rot13 is too rev... by erehweb on Tuesday January 25, 2022 @12:17PM (#30074572)
I'm thinking more about just casually writing it down e.g. in an email or FB post - the word for this day was "MROEN" - where the reader could decode MROEN easily, but just knowing MROEN wouldn't leak information. And this is more an abstract question than something with a practical use case.
Re:Ask HN: Best way to encode Wordle words? rot13 is too rev... by devonbleak on Tuesday January 25, 2022 @01:04PM (#30075403)
If the client/reader can easily decode it then a motivated cheater/attacker can easily decode it.

Something like homomorphic encryption or a trusted enclave on the client could work here but unless there's money involved that's probably gross overkill.

I'd go with the server-side solution and API personally but if I had to pick a mechanism for client-side I'd probably do something like AES encryption with a generated key. The actual secret would look like garbage and the key wouldn't show up anywhere on the wire so the attacker would have to actually reverse engineer the key generator.

All that said most of the "attacks" I've seen on the wordle problem just optimize the guessing strategy which is way easier than trying to figure out de-obfuscation of the secret.

Re:Ask HN: Best way to encode Wordle words? rot13 is too rev... by Eldt on Tuesday January 25, 2022 @04:13PM (#30078119)
Seems like they're just trying to prevent spoilers for the existing wordle game?
Re:Ask HN: Best way to encode Wordle words? rot13 is too rev... by a-williams on Wednesday January 26, 2022 @08:52PM (#30095098)
Pick an accesible online dictionary. Then use a pattern like the following: - Lookup the definition of the word for the day. Take the first word in the definition. - Lookup the definition of that word. Take the first word in its definition. - Repeat, maybe? - Use the first word in the definition as the key. Easy to verify but hard to reverse.