a tool to generate password from domain name and your custom key
See Here for a demo of stable version, result is shown in f12 console
See Here for a demo of dev version, result is shown in f12 console
Click Here for a userscript version, result is shown in f12 console
Base64 by webtoolkit.info licensed CC BY 2.0 UK
js-sha512 by emn178 licensed MIT License
aes-js by ricmoo licensed MIT License
A copy of these scripts is in src folder
usemasterkey.makePassword(domain, masterKey, passwordLength)
to make a password in lowercase with passwordLength
usemasterkey.makePassword2(domain, masterKey, passwordLength)
to make a password in both uppercase and lowercase with passwordLength
domain
andmasterKey
is required for password generation, passwordLength
will be 16 if not defined
masterkey.makePassword2(location.hostname, "input your preferred masterKey here inside quotation marks", 16);
You can generate a bookmarklet online or manually with the code below:
javascript:(function() {var script = document.createElement('script');script.onload = function() {prompt('Password Generated for "' + masterkey.parseHostName(location.hostname) + '" :', masterkey.makePassword2(location.hostname, '/****/', 16))};script.src = "https://myfreeer.github.io/masterkey/src/masterkey_full.js";document.getElementsByTagName('head')[0].appendChild(script);})();
Important: Replace the /****/
inside quotation marks with your preferred string as a masterkey before use
Due to network or browser reason, you might need to wait some seconds for the script to be loaded
Bookmarklet might be blocked by Content Security Policy
auto-filling feature for userscript version