ACCES INTERZIS | blog de programare si securitate IT




 22 Feb 2010 @ 14:52 

This PHP script generates randomly a password. It allows you to choose the number of characters of the password and the type of the characters: lower case letters (abcdef…), capitals (ABCDEF…), digits (012345…) and symbols (!@#$%…).

The big advantage of using randomly generated passwords is that this kind of passwords are very hard, perhaps impossible, to be cracked by a malicious script or to be guessed by someone. So, everytime when you will use a randomly generated password you will be protected against brute force attacks, dictionary attacks, social engineering.

But these passwords have a major issue: they are very hard to be kept in minde. Because of this reason, we should learn to choose personally a password. A password must be easily kept in mind but strong enough not to be cracked or guessed. So, I will show a technique to reach this target. We have to pick a word familiar to us and to write it down using a special alphabet. For a clearer understanding I will present a demonstration. I choose my name “Marian” as a password and I write it down like this: |\/|@r!@|\|. As everybody sees, I replaced “m” with “|\/|”, “a” with “@”, “i” with “!” and “n” with “|\|”. Regarding the others letters of latin alphabet we can replace :

  • “b” with “|3″ (vertical line and three)
  • “d” with “|)” (vertical line and right parenthesis)
  • “e” with “3″ (three)
  • “h” with “|-|” (vertical line, minus and vertical line)
  • “k” with “|<” (vertical line and less-than sign)
  • “o” with “0″ (zero)
  • “u” with “|_|” (vertical line, underscore and vertical line)
  • “x” with “><” (greater-than sign and less-than sign)

Post to Twitter Tweet This Post

Posted By: admin
Last Edit: 22 Feb 2010 @ 15:27

EmailPermalinkComments (0)
Tags
Tags:
Categories: IT security, programming