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!

Natural language hashing library.

Project Description

Crazyhash is a natural language hashing library for Python.

Built on top of well known hashing functions, _crazyhash_ replaces the hard-to-remember output data by a sequence of words.

Usage example

>>> from crazyhash import countries_colors
>>> h = countries_colors.Hasher()
>>> h.update(b'INSERT-HERE-BINARY-DATA-TO-HASH')
>>> h.digest()
u'HAITI-CORAL'
>>> from crazyhash import nato_capitals_nato
>>> h = nato_capitals_nato.Hasher()
>>> h.update(b'INSERT-HERE-BINARY-DATA-TO-HASH')
>>> h.digest()
u'YANKEE-SANAA-GOLF'

Features

  • Word lists included (see below).
  • Standard python hashlib API.
  • Pure Python.
  • Import hook system for easy usage.
  • Easy to extend and customize.
    • Custom word lists.
    • Hash phrase length.
    • Interchangeable inner hashing function (default hashlib.sha1).

Current dictionaries

  • Animals
  • Capitals
  • Colors
  • Countries
  • Kamasutra
  • NATO alphabet
  • Weather

0.0.1

  • Initial commit.
Release History

Release History

This version
History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
crazyhash-0.0.2.tar.gz (10.5 kB) Copy SHA256 Checksum SHA256 Source Nov 24, 2014

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting