// JavaScript Functions function showTipsMD5(input) { if (input.value.length == 0) { input.value = '\nList your hashes here! e.g.\n\n5d41402abc4b2a76b9719d911017c592\ne49512524f47b4138d850c9d9d85972927281da0\nf91c2b6cf1c4bfcd32757dedc0a8de66'; } } function showTipsHashes(input) { if (input.value.length == 0) { input.value = '\nList your passwords here! e.g.\n\nroot\npokemon\nmypassword'; } } function showCaptcha(input) { if (input.value.length == 0) { input.value = 'Insert code'; } } function showTipsSHA1(input) { if (input.value.length == 0) { input.value = '[ Examples of use ]\n- You want get the SHA1 hash from your password, e.g.\nmypassword\n\n- You want decrypt two SHA1 hashes for retrieve the passwords, e.g.\n7288edd0fc3ffcbe93a0cf06e3568e28521687bc\ne49512524f47b4138d850c9d9d85972927281da0'; } } function showTipsNTLM(input) { if (input.value.length == 0) { input.value = '[ Examples of use ]\n- You want get the NTLM hash from your password, e.g.\nmypassword\n\n- You want decrypt two NTLM hashes for retrieve the passwords, e.g.\nC5A237B7E9D8E708D8436B6148A25FA1\nF05196D3A88E1191E06FCD65C5250AA7'; } } function showTipsBase64(input) { if (input.value.length == 0) { input.value = '[ You insert here your code to encode or decode ]'; } } function hideTips(input) { if (input.value.indexOf('Insert code') >= 0 || input.value.indexOf('List your hashes here!') >= 0 || input.value.indexOf('List your passwords here!') >= 0 || input.value.indexOf('You insert here') >= 0) { input.value = ''; } } function changeButtonName(input, button) { if (input.value == 'encrypt') { button.value = 'Encrypt!'; } if (input.value == 'decrypt') { button.value = 'Decrypt!'; } if (input.value == 'encode') { button.value = 'Encode!'; } if (input.value == 'decode') { button.value = 'Decode!'; } }