Skip to main content

Python ctypes bindings to the Monocypher library

Project description

pymonocypher

This python package uses cython to wrap the Monocypher C library. Monocypher is an easy to use, easy to deploy, auditable crypto library written in portable C.

Normal Python installations have access to a wide selection of quality crypto libraries. This python binding is intended to communicate with other implementations that do use the Monocypher library. A typical application is to communicate with a microcontroller that uses Monocypher.

The Python binding API mirrors the underlying C API, but with simplifications to only pass bytes objects, not uint8_t * and length.

Installation

You can install directly from pypi:

pip install pymonocypher

You can then use pymonocypher:

python
>>> import monocypher
>>> monocypher.blake2b(b'hello world')

Project details


Download files

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

Files for pymonocypher, version 3.1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pymonocypher-3.1.0.0-cp37-cp37m-win_amd64.whl (84.1 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pymonocypher-3.1.0.0-cp38-cp38-win_amd64.whl (85.1 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pymonocypher-3.1.0.0.tar.gz (100.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page