Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Cython bindings to the Keccak sponge and SHA-3 functions

Project Description


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.


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, will be unable to determine the version of cykeccak.

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

Release History

This version
History Node

History Node

History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(145.0 kB) Copy SHA256 Hash SHA256
Source None Sep 20, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers