skip to navigation
skip to content

django-bcrypt 0.9.2

Make Django use bcrypt for hashing passwords.

You should be using bcrypt.

django-bcrypt makes it easy to use bcrypt to hash passwords with Django.

Installation and Usage

Install the package with pip and Mercurial or git:

pip install -e hg+

# or ...

pip install -e git://

Add django_bcrypt to your INSTALLED_APPS.

That’s it.

Any new passwords set will be hashed with bcrypt. Old passwords will still work fine.


You can set BCRYPT_ROUNDS in to change the number of rounds django-bcrypt uses. The default is 12.

You can change the number of rounds without breaking already-hashed passwords. New passwords will use the new number of rounds, and old ones will use the old number.


This is pretty much a packaged-up version of this blog post for easier use.

It also depends on the py-bcrypt library.

File Type Py Version Uploaded on Size
django-bcrypt-0.9.2.tar.gz (md5) Source 2011-03-15 3KB
  • Downloads (All Versions):
  • 59 downloads in the last day
  • 236 downloads in the last week
  • 1100 downloads in the last month