﻿function ShowTipMD5(input)
{
	if (input.value.length == 0)
	{
		input.value = 'List your MD5 hashes in here! (Max: 8)\ne.g.\n68eacb97d86f0c4621fa2b0e17cabd8c\n250cf8b51c773f3f8dc8b4be867a9a02\na55b3e109faee46b85b4049ced4a2221';
	}
}
function ShowTipNTLM(input) {
    if (input.value.length == 0) {
        input.value = 'List your NTLM hashes in here! (Max: 8)\ne.g.\n0b3a0bf752587b05269a4e85c1391e5d\n8846f7eaee8fb117ad06bdd830b7586c\n0cb6948805f797bf2a82807973b89537';
    }
}
function ShowTipSHA1(input) {
    if (input.value.length == 0) {
        input.value = 'List your SHA1 hashes in here! (Max: 8)\ne.g.\na94a8fe5ccb19ba61c4c0873d391e987982fbbd3\n40bd001563085fc35165329ea1ff5c5ecbdbbeef\n315f166c5aca63a157f7d41007675cb44a948b33';
    }
}
function HideTip(input)
{
	if (input.value.indexOf('hashes in here!') >= 0)
	{
		input.value = '';
	}
}

function DecryptHashes() {
    document.getElementById('ctl00_MainContent_btnDecrypt').disabled = true;
    document.getElementById('ctl00_MainContent_pnlStatus').className = "grey-box";
    document.getElementById('ctl00_MainContent_txtResults').value = "Working...";
    __doPostBack('ctl00$MainContent$btnDecrypt', '');
}