moonpiedumplings@programming.dev to Ask Lemmy@lemmy.worldEnglish · 2 days agoGive me some of your hardest riddles? (with solutions in spoilers)message-squaremessage-square71fedilinkarrow-up162arrow-down11file-text
arrow-up161arrow-down1message-squareGive me some of your hardest riddles? (with solutions in spoilers)moonpiedumplings@programming.dev to Ask Lemmy@lemmy.worldEnglish · 2 days agomessage-square71fedilinkfile-text
minus-squareChaoticNeutralCzech@feddit.orglinkfedilinkEnglisharrow-up1·edit-210 hours 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-squaredavidgro@lemmy.worldlinkfedilinkarrow-up1·9 hours 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