pwtools 0.2

Password generation and security checking

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Alastair Houghton
HOMEPAGE:
alastairs-place.net
CATEGORY:
ROOT \ Security
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

requirements

#password generation #security checking #password #generator #security #checker

Add your review!

SUBMIT