Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Password Hashing Library

Project Description

Hashish
=======

A simple mixin that provides password hashing functionality. It uses a
configurable salt count to set a field. It is designed to be easy to use
in most instances

Example Usage with SqlAlchemy
-----------------------------

:::python
class Account(Base,HashishMixin):
__PASSWORD_FIELD__ = "password_hash" # Defaults to "hash"
__SALT_COUNT__ = 4 # Defaults to 2

password_hash = Column(String)


test_account = Account()
test_account.password = "SuperSecretPasswordYo!"
test_account.validate("SuperSecretPasswordYo!") # True if the hashes match using the same salt.


Initial Release

Release History

This version
History Node

0.1.1

History Node

0.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
hashish-0.1.1.tar.gz
(2.2 kB) Copy SHA256 Hash SHA256
Source None Nov 21, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting