puzzle tools!
yay :D
some of my self-made tools i've used to make puzzles on this site and rel.pet();
some of my self-made tools i've used to make puzzles on this site and rel.pet();
this tool takes a 3 inputs
and gives you back the hash of your key (SHA256), and the ciphertext (using AES256 CBC) of your input encoded with a salted hash of your key!
key
salt
plaintext
hash output
salted hash output
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 tool takes a string and converts it to text that looks like bottom spam
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"
plaintext
b9 spam