django/django — pull request #1918 by erikvanzijst (2013-11-13 23:46:34+00:00)
Title: Speed up BCrypt and PBKDF2 password hashing.

Iteration-based password hashing algorithms can be prohibitively expensive for high volume sites that rely on Basic HTTP Auth.

This change adds caching versions of the BCrypt and PBKDF2 hashers.

The motivation for this came from us trying to upgrade Bitbucket to BCrypt and DOSing ourselves in the process.