It started as one normal tool
It started as just an AES encrypt and decrypt tool, with compressing and a password made from whatever text you type.
Then a file that unlocks itself
Then a page you can send someone that decrypts itself when they type the password.
Before the tool was even a thing I did it by hand for fun. AES to Base64 to binary to Base64 to hex to Base64 to hidden in an image, AES encrypted at every step. Then I was like a tool that's just encryption with way too many steps would be funny so I made it.
What a step is
Every step takes whatever came out of the last one and changes it. Some are actual encryption with AES-256, some just write the same data a different way like Base64, hex, binary, Morse, ROT13, flipping bits or compression, and some turn it into a file like hiding it in the pixels of a PNG or in a WAV.
async function key(pw, salt) {
const base = await crypto.subtle.importKey('raw', enc.encode(pw), 'PBKDF2', false, ['deriveKey']);
return crypto.subtle.deriveKey({ name: 'PBKDF2', salt, iterations: 600000, hash: 'SHA-256' },
base, { name: 'AES-GCM', length: 256 }, false, ['encrypt', 'decrypt']);
}Your password isn't actually the key. It gets run through PBKDF2 600,000 times with a random salt to make the real 256 bit key, which makes guessing passwords really slow, and since the salt's new every time the same message never comes out the same twice. crypto.subtle is the browser's own crypto so none of it is homemade.
The Gauntlet presetSix AES layers with encodings in between. The log at the bottom shows how big it is after every step which is honestly my favorite part.
Watching it get huge
The Gauntlet takes a 51 character message and it goes 51 bytes, 95, 128, 172, then binary blows it up to 1,376 and it just keeps going till it's 5,276 bytes packed into a 120 by 120 pixel PNG. Every AES layer adds a little extra for the salt and nonce and tag, and the text encodings make it bigger every time.
So is it more secure?
Nah lol and the page says that too. One layer of AES-256 with a good password already can't be cracked, more layers with the same password don't add anything, and the encodings aren't even encryption. It's more for puzzles and ARGs and messing with friends, there's a preset called Maximum Silliness that doesn't even have a password.