Easily secure website access with Hashwords
Photo by Mirko Macari
I love web apps. Really…I love them. While the idea of computing in the cloud scares some people, it fits my needs perfectly. I’ll sign up for a web app on the off chance that it might suit my needs. While it’s easy for me to walk away from these apps if I find something better, there’s one thing that I can’t walk away from – the password that I used as part of the signup process.
Bad passwords are common
It’s no secret that lots of people choose bad passwords. I usually shake my head at those folks and pat myself on the back for using a moderately strong password. Although my password doesn’t use mixed case letters or special characters, it does contain both letters and numbers and has 8 characters. While it’s not unhackable, it’s stronger than most passwords being used out there. However, it suffers from a severely fatal flaw – it’s the only password that I use.
Of course, I’m not alone – most computer users repeat passwords. It’s just too much of a pain to remember hundreds of passwords and I’m not interested in writing them down. Software solutions that store my passwords don’t really work either because I can only use them on my home machine.
So that got me thinking – if I have a decent password but my problem is that I repeat it, how can I be more secure? That led me to create Hashwords.
What is Hashwords?
Hashwords is a simple website that will take a master password, a website URL and create a strong password that is unique to you and the website. You don’t even have to remember the password because you can regenerate it at any time.

Here’s how it works. Visit hashwords.sideline.ca. Choose a password that you’re going to use as your master password and type it in. Then, type in the domain of the site you need a password for. Keep the domain information simple here – type in google.com instead of http://www.google.com/accounts. As you type in the URL, you’ll see your password being generated. When you’re finished entering your master password and the URL of the site you’re visiting, simply copy your new Hashword to be used. That’s it.
The power of a Bookmarklet
It can be a bit clunky to open a new browser window or tab just to create a Hashword. The Hashword bookmarklet makes this process much easier.

Go to hashwords.sideline.ca, click on the Bookmarklet tab and follow the directions to drag the bookmarklet into your browser. Now you can access Hashwords from any site you want by clicking on the bookmarklet that you created. To make it even easier, the bookmarklet will automatically fill in the URL for the website that you’re currently viewing. Visit the bookmarklets page on Wikipedia for more information on how to use bookmarklets.
How does it work?
Warning – if your eyes start to roll into the back of your head when people speak geek around you, just skip to the next section.
Hashwords takes your master password and the URL that you’ve supplied and combines them. It thens run one of three encryption algorithms (SHA1, MD5 or MD4) on this combined text to create an encrypted piece of text. This encrypted text is usually represented as hexadecimal. That means that it is made up of the letters A-F and the number 0-9. Since strong passwords usually consist of both uppercase and lowercase letters along with special characters, a further encryption is done on the text using Base64. Base64 is typically an insecure way to encrypt text but in this case it is simply being used to convert the encrypted text into a format that is even more secure. Finally, the encrypted text is chopped to a user-defined length of either 8, 12 or 16 characters.
Seems simple enough, eh? The beauty of this approach is that it is recreatable and virtually uncrackable.
But the security doesn’t end there. Hashwords is implemented completely in Javascript using the JQuery framework. That means that there is no data sent back to a server so there is no way that your passwords can be compromised. Furthermore, these passwords aren’t stored anywhere (because you can regenerate them whenever you need to) so there is no central list of passwords that can be hacked.
How do I try Hashwords?
Go to the Hashwords website and drag the bookmarklet into your browser. Then simply go to a website where you need a password. When you’re on the login page of the website, just click on the Hash It! bookmarklet to launch Hashwords. Type in your master password and get your new Hashword. If you want to change the default settings, click on the Settings tab to choose the encryption algorithm, the length of your password and the characters to use in generating your Hashword.
After using Hashwords for a few months, I found some pain points in the workflow. Changing my settings from the defaults every time I generated a Hashword was annoying. Even worse was having to type in my master password every single time. To solve these issues, I turned to browser cookies. All of the settings are stored in a cookie in your browser for 7 days. Your master password is stored in a cookie in your browser until you close your browser. That means that you can use Hashwords conveniently on a public computer without any security concerns as long as you close your browser when you’re done.
Final words
Let me know how you like Hashwords. It’s a pretty simple little application but has made my online browsing much more secure without having to be tied to a single application that I install on my home computer. I love it and I hope you do too!
Comments are closed.
Pretty sweet little app. Try building a Firefox extension for it, or a little app for Macs that sits in your menu or something.. Charge 2 bucks a piece for the little app and you’ll make yourself some extra cash ;)
@rafal – I gave up on Firefox a while back. I like the idea of extensions but I found that it just tied me to a particular machine. I tend to float around between 4 different computers at home (1 Mac, 2 Ubuntu and 1 Windows) so it just became a pain to have all these Firefox extensions following me. Instead, I discovered the lightweight flexibility of bookmarklets and now I’m hooked!
This app only took me a day to build and that’s only because I spent a bunch of time learning JQuery. I’m not looking to make money off of it – then I’d have to start providing support! :)
However, I do have plans to hook it up to some other extensions and apps that a lot of people use for managing their passwords. That’ll be a future post.