1. Kelvin Wong
  2. django-scrypt


django-scrypt / django_scrypt / __init__.py

# -*- coding: utf-8 -*-
"""A Scrypt-enabled password hasher for Django 1.4/1.5

Django-Scrypt provides a Scrypt-enabled hashing class compatible
with Django's flexible password storage system


hashers - Class used for creating Scrypt message digests


hashers.ScryptPasswordHasher - Scrypt hashing for Django 1.4/1.5

Typical Usage

Place the full name of the ScryptPasswordHasher at the very top
of the PASSWORD_HASHERS tuple in your project settings file. As
users login they will update their passwords to use Scrypt hashes.

In settings.py:


from __future__ import unicode_literals

__version__ = '0.2.3'
__all__ = ['hashers']