Fork me on GitHub

"simple - [adjective (simpler, simplest)] - easily understood or done; presenting no difficulty: a simple solution" <oxforddictionaries.com

Pass

«associate password so simple»


Implementation of an algorithm generating and storing a passwords like this: "cf83e1357eefb8bdf1542850d66d8007". Written on pyQt.

Used sha512(sha512("salt" XOR "nick : site") XOR "pass")[:32] algorithm, created by Gist and modified here.

How to:

This programs helps you generate unique passwords for sites, programs, etc... Run window.py from one of the folders. At first start python will record unique salt in pass.py and run generating password. You need to enter nick, url of site and master password. New password will be displayed in bottom form. Just copy it.

Src on Github

Code under MIT license. Images and Photo under Creative Commons license.

For quick use copy to bash: python -c "import hashlib, getpass;from itertools import cycle, izip;f = open('pass.py');salt = f.read();f.close();print hashlib.sha512(''.join(chr(ord(x) ^ ord(y)) for (x,y) in izip(hashlib.sha512(''.join(chr(ord(x) ^ ord(y)) for (x,y) in izip(salt, cycle(raw_input('nick:') + ' : ' + raw_input('site:'))))).hexdigest(), cycle(getpass.getpass())))).hexdigest()[:32]"

Filipp Frizzy