some of my self-made tools i've used to make silly puzzles
albeit, they're pretty simple tools and translators, but i just hate it when someone makes a puzzle and its just text in binary, base64 or hexadecimal.
so i'll use this page to document my fun ways of doing these little fun ""encryptions"".
be warned, if you do want to look at these, you might be spoiled for the puzzles that are actually in this site, but if my hints really are that horrigble then i guess you could steamroll the puzzles with these
and gives you back the hash of your key
(SHA256),
and the ciphertext (using AES256CBC)
of your input encoded with a salted hash of your key!
key
salt
plaintext
hash output
hash
salted hash output
salted hash
aes ciphertext
i use this to make entirely secure clientside puzzles!
since i know people are going to look at the code to bypass the puzzle, i can just use this to make it more secure
for example :
function checkPassword(password) {
const salt = "skibidi";
const secret = "fdcaa034...continues for miles";
if (sha256(password) == "5e884898...") { // checks if the password is correct// decrypts secret with salted hash and runs secret code!!!
const script = aes256Decrypt(secret, sha256(password + salt));
// or just use eval()
eval(script);
};
}
the salted hash is never given out, and you cant really do much with only the password's hash and having the salt in plaintext
if someone tries to bruteforce the puzzle then props to them, they win
either because they out-brained the system or they just took a reeeeeeeeeeeeeeeeally long time
demo :
this text will change when "ksdjfgsdasdsasadhskfdjhgksf" is used as the secret password
keysmash code
skkzhlshhyfgfjfsdaazlfdfgjffpgfslfjflghhufjs
this tool takes a string and converts it to text that looks like keysmash or bottom spam or whatever
it works by turning your string into a number, and converting that number into base 9 using letters from the home row keys of a keyboard
if there are any bloclks of contiguous letters, letters from Not The Home Row will be used to break them up to look more natural
it is also prefixed with "sk" kinda how hexadecimal literals are prefixed with "0x" (its like a small hint that it contains something instead of being regular keysmash)
i'm also aware not everyone keysmashes in the homerow or has the same keyboard layout, it just happens to look that way to me for a lot of people.
if you want you can take this code and change your list of homerow keys and breakerChars