Skip to main content
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 notifications

This version
History Node

0.0.2

History Node

0.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
crazyhash-0.0.2.tar.gz (10.5 kB) Copy SHA256 hash SHA256 Source None Nov 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page