Socket
Book a DemoInstallSign in
Socket

fnvhash

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fnvhash

Pure Python FNV hash implementation.

pipPyPI
Version
0.2.1
Maintainers
1

Pure Python FNV hash implementation

|Build Status| |Package Version|

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.

.. _FNV: http://isthe.com/chongo/tech/comp/fnv/ .. _pyhash: https://pypi.python.org/pypi/pyhash

Usage

::

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

License

The software is subject to the MIT license.

.. |Build Status| image:: https://github.com/znerol/py-fnvhash/actions/workflows/on-push.yml/badge.svg :target: https://github.com/znerol/py-fnvhash/actions/workflows/on-push.yml .. |Package Version| image:: https://img.shields.io/pypi/v/fnvhash.svg :target: https://pypi.python.org/pypi/fnvhash

Keywords

fnv

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts