skip to navigation
skip to content

siphashc 1.0

Python module (in c) for siphash-2-4

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

Python 2

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

Python 3

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

License

Released under the MIT license. See LICENSE.md file for details.

 
File Type Py Version Uploaded on Size
siphashc-1.0.tar.gz (md5) Source 2017-10-05 4KB