Skip to main content

Cython bindings to the Keccak sponge and SHA-3 functions

Project description

https://travis-ci.org/habnabit/cykeccak.png

cykeccek

From the Keccak website:

Keccak is a family of sponge functions. The sponge function is a generalization of the concept of cryptographic hash function with infinite output and can perform quasi all symmetric cryptographic functions, from hashing to pseudo-random number generation to authenticated encryption.

cykeccak is a thin Cython wrapper around the reference implementation of Keccak and an implementation of SHA-3 on top of that wrapper.

Installation

Cython is not required to build cykeccak as long as the source distribution contains a keccak.c file, such as the tarballs available from pypi. Installing from a github tarball is not recommended, as they ship without keccak.c, version.txt, or a .git directory. With neither version.txt nor a git repository present, setup.py will be unable to determine the version of cykeccak.

The underlying C code is architechture-dependent, and setup.py will attempt to guess whether to build from the 32-bit or 64-bit sources based on whether the python executing setup.py is a 32- or 64-bit binary. To avoid guessing, the CYKECCAK_IMPLEMENTATION environment variable can also be set to either opt32 or opt64.

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

cykeccak-0.13.2.1.tar.gz (143.4 kB view details)

Uploaded Source

File details

Details for the file cykeccak-0.13.2.1.tar.gz.

File metadata

  • Download URL: cykeccak-0.13.2.1.tar.gz
  • Upload date:
  • Size: 143.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cykeccak-0.13.2.1.tar.gz
Algorithm Hash digest
SHA256 0503b6f7da7e23995da5c2c9f95ad40279487a1b72656bb3dec46939720b3054
MD5 33b6f844221c7346970ac977e85bd4e6
BLAKE2b-256 dc2fb9c1dafa2b26cede07f1b912054659a3f3d2b79ebb80072a916d45b6b9c4

See more details on using hashes here.

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