Last active
February 21, 2022 18:12
-
-
Save lightdiscord/3f4569c076a72d5539b2c8abb24058d0 to your computer and use it in GitHub Desktop.
nerdlegame.com decode response to plaintext
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Decode the response from the server | |
function decode(plain) { | |
return String.fromCharCode(...[...plain].map((c) => (c.charCodeAt(0) + 113) % 126)) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get the response from the server for a specific day (day - 1) | |
curl "https://nerdlegame.com/words/$(echo -n "$DAY" | md5sum | cut -d' ' -f1)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment