@moonpiedumplings@programming.dev to Ask Lemmy@lemmy.worldEnglish • 2 months agoGive me some of your hardest riddles? (with solutions in spoilers)message-square82fedilinkarrow-up165arrow-down11file-text
arrow-up164arrow-down1message-squareGive me some of your hardest riddles? (with solutions in spoilers)@moonpiedumplings@programming.dev to Ask Lemmy@lemmy.worldEnglish • 2 months agomessage-square82fedilinkfile-text
minus-square@ChaoticNeutralCzech@feddit.orglinkfedilinkEnglish2•edit-22 months agoI think you’re better off with a literal dictionary attack. Knock yourself out: https://github.com/fenimore/devinettes-android/blob/master/app/src/main/java/com/workingagenda/devinettes/RiddleCollection.java It’s just SHA-1 of the UTF-8 representation of the answer. Note that the riddles, unlike the software, are under CC-BY-NC-ND.
minus-square@davidgro@lemmy.worldlinkfedilink2•2 months agoInteresting. Looks like it can accept multiple variations on each answer. I was wondering about that I’m not actually going to do it, but I like the system design
I think you’re better off with a literal dictionary attack. Knock yourself out: https://github.com/fenimore/devinettes-android/blob/master/app/src/main/java/com/workingagenda/devinettes/RiddleCollection.java It’s just SHA-1 of the UTF-8 representation of the answer.
Note that the riddles, unlike the software, are under CC-BY-NC-ND.
Interesting. Looks like it can accept multiple variations on each answer. I was wondering about that
I’m not actually going to do it, but I like the system design