pwtools 0.2

Password generation and security checking
pwtools is a tool that provides a robust password generator and a password security checker based on the design of libpasswdqc. pwtools does not use code from libpasswdqc, but is implemented in pure Python.

The algorithms were borrowed from the Openwall Project's passwdqc project, but have been re-implemented in Python for increased portability.

Usage:

To generate a secure password:

>>> import pwtools
>>> pwgen = pwtools.PasswordGenerator()
>>> pwgen.generate()
'Arctic9these9meat'


To check a password:

>>> import pwtools
>>> pwcheck = pwtools.PasswordChecker('/usr/share/dict/words')
>>> pwcheck.checkPassword('foobar')
'too simple (not enough different kinds of character)'
>>> pwcheck.checkPassword('123456abcdef')
'based on a common sequence of characters'
>>> pwcheck.checkPassword('4lt3rC47!0n') # leet for altercation
'based on a dictionary word'

last updated on:
August 17th, 2010, 1:26 GMT
price:
FREE!
developed by:
Alastair Houghton
homepage:
alastairs-place.net
license type:
MIT/X Consortium License 
category:
ROOT \ Security

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT