/siphashc3

python c-module for siphash

Primary LanguageCMIT LicenseMIT

siphashc3

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

Build Status

Usage

Python2.7.x

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

Python3.4.x

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