Another password idea

As I was biking to my C programming class this morning this suddenly popped into my head: “what if you just use an easy to remember programming statement as a password for an account?”.

Of course, this only works if you have a couple of statements you regularly use (which aren’t 100% textbook examples) but still, an interesting idea. Basically, an example for a gmail account password could be:


I’d love to see a brute force attack getting this password. In the end, even a novice programmer knows such a simple statement as a for loop, and a whole lot of variations are possible as well. If you’re not too keen on those password programs and can’t remember something like ‘KfjE@JZ9I$47lo’ this is yet another way to make sure your password is pretty strong and easy to remember and customize for each website.

If you have clever ways to come up with a password, feel free to let me know in the comments.