/gdata/Crypto/Hash/__init__.py

http://radioappz.googlecode.com/ · Python · 24 lines · 16 code · 2 blank · 6 comment · 2 complexity · 4cf44710ae1dc0cef3560448dd6272df MD5 · raw file

  1. """Hashing algorithms
  2. Hash functions take arbitrary strings as input, and produce an output
  3. of fixed size that is dependent on the input; it should never be
  4. possible to derive the input data given only the hash function's
  5. output. Hash functions can be used simply as a checksum, or, in
  6. association with a public-key algorithm, can be used to implement
  7. digital signatures.
  8. The hashing modules here all support the interface described in PEP
  9. 247, "API for Cryptographic Hash Functions".
  10. Submodules:
  11. Crypto.Hash.HMAC RFC 2104: Keyed-Hashing for Message Authentication
  12. Crypto.Hash.MD2
  13. Crypto.Hash.MD4
  14. Crypto.Hash.MD5
  15. Crypto.Hash.RIPEMD
  16. Crypto.Hash.SHA
  17. """
  18. __all__ = ['HMAC', 'MD2', 'MD4', 'MD5', 'RIPEMD', 'SHA', 'SHA256']
  19. __revision__ = "$Id: __init__.py,v 1.6 2003/12/19 14:24:25 akuchling Exp $"