Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 787 Bytes

README.rst

File metadata and controls

31 lines (20 loc) · 787 Bytes

Pure Python FNV hash implementation

https://travis-ci.org/znerol/py-fnvhash.svg?branch=master https://coveralls.io/repos/github/znerol/py-fnvhash/badge.svg?branch=master

Pure Python implementation of the FNV hash family with 100% test coverage. Take a look at pyhash for use cases where performance is more important than portability.

Usage

>>> from fnvhash import fnv1a_32
>>> hex(fnv1a_32(b'foo'))
'0xa9f37ed7'

License

The software is subject to the MIT license.