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.3.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ada480cbcad04609e25b73c2882fcc84a157e271fdcbf605fab22903fcc0c346 |
|
MD5 | 371c23a531922441ac192c38c63c506d |
|
BLAKE2b-256 | 46bca791eec12ae0c91d0d282f1640ac24cd4417ec47335e51bb4b5652224a60 |
Hashes for pymonocypher-3.1.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbc0a674d539604753ed24d75510590a1e82109de59603e84ae1f025f4f4a2aa |
|
MD5 | dbd2a5ea7d5db14920a50d62f0f7e8d9 |
|
BLAKE2b-256 | eea4dc2fd137aa48c3ceb9944828284229fa76fd37981679be866eb9ea00bd65 |
Hashes for pymonocypher-3.1.3.2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8963071aef24a74be22329d1e1cea7be84c0efe7642c8dda3af5400205e551db |
|
MD5 | 15a0c110eea1f416c1a1f662550e4468 |
|
BLAKE2b-256 | b7faccd63cc8e5717afc2d8c01cec8cd5b58900afec3cf5053f73a2cfcf5c351 |
Hashes for pymonocypher-3.1.3.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfd449e3eee5dc2a85588a2ace78f3091614f3d017af3e67db29f1e18e0b4db8 |
|
MD5 | d196bf47abdc291fd2d9437a3678a24e |
|
BLAKE2b-256 | d9a6e626cdd1fad8793889724ce88b41ba9fb560da30541421f697e1162bf522 |
Hashes for pymonocypher-3.1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29b8ae67f0c13d21527ba9a6f87b0f168eb3935f725878cefcacdcb361bea256 |
|
MD5 | 5cb308e05ffc28500b1648c439fdb869 |
|
BLAKE2b-256 | dfec4f758bc57e527cc393a75443b1bd0439aa6df3bd1b426676525ba1f34320 |
Hashes for pymonocypher-3.1.3.2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc5cffaa1466be306deec77576d852db4b863cbb8b19a00f1908be4706ae021 |
|
MD5 | 845656d59719dcd0311287c637a7390b |
|
BLAKE2b-256 | c7cf53927c163b9e3a5f95502ede12daadcde58e7d420ed88283ef1701f0b1a8 |
Hashes for pymonocypher-3.1.3.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6bd4a954ad4a5620137a7e46340c59e1c21eed7ac99dc9017e248b8923bcad8 |
|
MD5 | fb63e2cd518a22296718b92485914f79 |
|
BLAKE2b-256 | e1118474d2ecab67c9250b722bd6c77f6d44e945594ac642ee06149b72025623 |
Hashes for pymonocypher-3.1.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26828994abec48b4605a7de29c1b682a1870e87b2b73cb225439050b7ab4800 |
|
MD5 | 0009b84d1e6c1e2a9982f4154f9052f0 |
|
BLAKE2b-256 | c7b4c8b8b76ff4a0f59c8fd291161e833eaf2487286b9b95562dd3fe75b465bd |
Hashes for pymonocypher-3.1.3.2-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24c26d96c6efed92941fca916c3ca6503a0babcd8268ed3c04a1a9ed63e93744 |
|
MD5 | a9562a6ebba359e673dee9e101a02167 |
|
BLAKE2b-256 | 82deae5e28a71815af025a6c988517ba85c56028591af8d95899f56fb2e775f5 |