Main » 2011 » Март » 16 » Generate strong passwords simple sentences
13:07
Generate strong passwords simple sentences
Whether you love to remember passwords of the form:

qG4'P}: ZGKq? 0 [KO!, 7 `@; 6F] xQ1H] mxLPa # ?

I am - I can not stand! Especially considering the fact that from time to time all these passwords should be changed for each service separately, and so many of them that the head spin! Where's all remember?

The options are few:
a) set simple passwords and are afraid that they are somebody will pick / guess;
b) set complex passwords (see above) and drag them all the time with a piece of paper ( which is also very dangerous!)
c) use the encryption method of simple sentences by regular means in the system.

This is the third point I will touch. This method is the following (simplified example):

% echo "prostaya_fraza" | md5

The output you receive a cryptographically strong hash of the form: b3d0da41b07d550d97d579bd642d7dbf. However, this is the most primitive example. You can use md5 in conjunction with sha1/uuencode/openssl and generally with all that you only comes into my head! You can, for example, take the hash with the hash of a certain number of times. Just wanted to warn that the password length must be cut (!), Because if the size will be known - the cryptographic strength drops significantly.

Present to you the simple script to implement this act. I called him «genspass» (from GenerateS encoded Password), written in the classic unix shell (of course compatible with bash / zsh and others).
The program works simply: receiving a key phrase (word, symbol - it does not matter), takes in MD5, then in BASE64 and cut prior to the scheduled length (specified in the script) and then displays the result.
Example: enter 123 we YmExZjI1MTFmYzM, copy and paste it where you want.

The latest version of the script is always available at this address.
Views: 572 | Added by: w1zard | Rating: 0.0/0
Total comments: 0
Имя *:
Email *:
Код *: