Skip to content
main
Switch branches/tags
Code
This branch is up to date with main.
Contribute
Weblate

Weblate is a copylefted 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

PyPI package

Installation

Install using pip:

pip install siphashc

Sources are available at <https://github.com/WeblateOrg/siphashc>.

Introduction

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

It was merged from two versions of the module:

Usage

>>> 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.