bcryptor

Python wrapper for bcrypt
Download

bcryptor Ranking & Summary

Advertisement

  • Rating:
  • License:
  • The Apache License 2.0
  • Price:
  • FREE
  • Publisher Name:
  • Jonas Melian
  • Publisher web site:
  • http://www.bitbucket.org/ares/bcryptwrap/

bcryptor Tags


bcryptor Description

Python wrapper for bcrypt Bcrypt is an implementation of a modern password hashing algorithm, based on the Blowfish block cipher, by Niels Provos and David Mazieres. It has been the default password scheme since OpenBSD 2.1.A paper on the algorithm that explains its design decisions is available here: http://www.usenix.org/events/usenix99/provos.htmlThe most important property of bcrypt is that it is adaptable to future processor performance improvements, allowing you to arbitrarily increase the processing cost of checking a password while still maintaining compatibility with your older password hashes.bcryptor is a Python library that provides a high level object oriented wrapper around bcrypt, as well as low level bindings to the C library. It requires Python 2.4 because it uses the random number generator random.SystemRandom() to create the salts.UseTypical usage:>>> import bcryptor>>> bcrypt = bcryptor.Bcrypt()>>> hash = bcrypt.create('crack my pass')And to validate:>>> bcrypt.valid('crack my pass', hash)True>>> bcrypt.valid('Crack my pass', hash)False Requirements: · Python


bcryptor Related Software