An open API service indexing awesome lists of open source software.

https://github.com/weblateorg/siphashc

python c-module for siphash
https://github.com/weblateorg/siphashc

python siphash

Last synced: 12 months ago
JSON representation

python c-module for siphash

Awesome Lists containing this project

README

          

.. image:: https://s.weblate.org/cdn/Logo-Darktext-borders.png
:alt: Weblate
:target: https://weblate.org/
:height: 80px

**Weblate is libre software web-based continuous localization system,
used by over 2500 libre projects and companies in more than 165 countries.**

siphashc is a Python module (in c) for siphash-2-4

.. image:: https://img.shields.io/pypi/v/siphashc.svg
:target: https://pypi.python.org/pypi/siphashc
:alt: PyPI package

Installation
~~~~~~~~~~~~

Install using pip:

.. code-block:: sh

pip install siphashc

Sources are available at .

Introduction
~~~~~~~~~~~~

siphashc is a python c-module for
`siphash `__, based on `floodberry's
version `__.

It was merged from two versions of the module:

- https://github.com/cactus/siphashc
- https://github.com/carlopires/siphashc3

Usage
~~~~~

.. code:: pycon

>>> from siphashc import siphash
>>> siphash("sixteencharstrng", "i need a hash of this")
10796923698683394048

License
~~~~~~~

Released under the `ISC
license `__. See
``LICENSE.md`` file for details.

Contributing
~~~~~~~~~~~~

Contributions are welcome! See `documentation `__ for more information.