Table of Contents

Class: HashGenerator uid.py

A hash generator (or hasher) is a sort of factory for hashes; it will create a fresh hash object by calling it with no arguments (ideal if it is, say, a class). Clients need only create a new Hasher object with the factory as the constructor, or derive from and override its class member HashFactory.

Methods   
__init__
new
  __init__ 
__init__ ( self,  factory=None )

Instantiate a new hasher object, with the optional factory.

  new 
new ( self )

Create a new instance of the hasher.


Table of Contents

This document was automatically generated on Mon Apr 25 15:24:40 2005 by HappyDoc version 2.1