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.
- pymonocypher Source code
- Monocypher official site
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pymonocypher-3.1.0.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bef24dc85eb66d5b28d792b5f3725b0b3ab8bfe1566fe4bfc1bb87705bcaa8dd |
|
MD5 | 348ac8ed04b3dae0bdef2b4779c14fae |
|
BLAKE2b-256 | bec3175fb22daf8a0181a3548722a1d5cebd2d53d954a1af261a39f2dcd9c65d |
Hashes for pymonocypher-3.1.0.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d5b93fdb423e225f09fac7062404f9132fec84a8ba5f2fd26dce3aaf9fd2419 |
|
MD5 | f44ec2996ee631b8912057126ba7be88 |
|
BLAKE2b-256 | a421409fc03eb1d77694f6edc028989439d1e0a628cbde8796a6463104ce71fa |
Hashes for pymonocypher-3.1.0.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95854b7e27692dfec1a594115a2de9bfc83e7e4873fd9fd2a54823c253523b6b |
|
MD5 | 23fd8d4e6be46c230ba483d1ebd57b8c |
|
BLAKE2b-256 | 4a2812b158796e51bc25559b20173f10db1344600370616d6a06347f5838aaa4 |