Skip to main content

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

Project description

https://travis-ci.org/WeblateOrg/siphashc.svg?branch=master https://ci.appveyor.com/api/projects/status/kgeohtb6as3xd9b7/branch/master?svg=true https://api.codacy.com/project/badge/Grade/33758f86fbf44e929d85f47390093771 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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

siphashc-1.2.tar.gz (6.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page