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.3-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51da27fa00a3cbc6cd6e1ebe2ecd54e83952c0f448c5e43b73efe8405db4788f |
|
MD5 | 4c53b1bb34123bd697fe7ce844316e2e |
|
BLAKE2b-256 | 71335dbd2570e2e53eee3c6110d7d17eb888b4cebb2e03130dda65e2edc09808 |
Hashes for pymonocypher-3.1.3.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 325e46fcb8709b1515ab035c754c6ad0c0552559e3f8cbbc2422ae9bb37b5e09 |
|
MD5 | 6526587ae68124a2ebdb7ae964712d40 |
|
BLAKE2b-256 | ccf8cc44ade84d7abf75d193c6ca7bf27a0558f80e9bbf2fb72c506b0f31768c |
Hashes for pymonocypher-3.1.3.3-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af67b559fe82103ea2eae7cd30a930896cec3b7e48274d426076b89b66f75626 |
|
MD5 | 0c1eee578b4e0c894e07334efe72078c |
|
BLAKE2b-256 | 2d8fc0d4888fd2d9f02fc5cd2e543e885b726d5b1f7922dc2e2f9c498c98f35f |
Hashes for pymonocypher-3.1.3.3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 124acb68814bbe183db07e35724abbeb5ddf2fa3c7c1a23f040b7229ee440c16 |
|
MD5 | 2faff31343fde57d328d16440a1d1579 |
|
BLAKE2b-256 | c08e8df4674741d1ee81cc0fd62d3d7ea0e07fda9d7da9093b77c8213d6e7739 |
Hashes for pymonocypher-3.1.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcc72690e4b1f7e8f7793f55ff91366186b83f2df2e9a3b5ad61fc58b4a8c1c0 |
|
MD5 | db1a4cb18a2453efbe0069e8ce803a39 |
|
BLAKE2b-256 | 9728307fec2e506ed164ee9425e56ec8237907f83e8110cb9776f1a1eb9512eb |
Hashes for pymonocypher-3.1.3.3-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a507c756448c4d584ecf2e134d4688a222abb1063306773117398c72017f6e6 |
|
MD5 | ff38bffb669ab99a3a2649b661121cac |
|
BLAKE2b-256 | 4743b7bdaf848f491828c8dc2db3666014f4168c000a962e6754cd378a0d0bed |
Hashes for pymonocypher-3.1.3.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6fc7cd05f9e7315e91fdb7545110f43bd0431b351e8decdd7c355cb51b75998 |
|
MD5 | acddf33e6b0bc3e89b200ab2218da959 |
|
BLAKE2b-256 | b56bab356af841b64d5851c214d32eaaca0ca795b6a210d373849b5262746c05 |
Hashes for pymonocypher-3.1.3.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75a3920593b30f74a9dab8dfe2c3b4eb02952796b53fc6b30eac34dc544aee85 |
|
MD5 | 4702e0de90c7f94531fabc0e21a53a8c |
|
BLAKE2b-256 | 5dc5cedda096f179ab33b58d19c8d712216b1c84cf8bde8b84de5c69335144e7 |
Hashes for pymonocypher-3.1.3.3-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f940038d83edec680ffb937df401a1bafc77ff20dd97eb65cbc766bb780dbfa |
|
MD5 | d6664c7a3c889ffe61af92135a63934c |
|
BLAKE2b-256 | 391f10ddc5bbed79fcb296af25b0499346da59a8295c1da180a09e33ab95526f |
Hashes for pymonocypher-3.1.3.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03e985b3f82b0537190b446ac538cdd9efca3e4f2b9fd731118bc44813d9ecaa |
|
MD5 | a5eafa20f8e153c6b87d2c8ac4a30cc8 |
|
BLAKE2b-256 | 4ab341bceec599fc94b8266fec797ff8d2dec312e5db742feb3672dd33cb68f6 |
Hashes for pymonocypher-3.1.3.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fbb4b0985774632aa2a64bde4e5b6fc5a8e6f32c0f302a0842f224b9e1fb94a |
|
MD5 | 53b4377c175b7fe7c861cbc4f5dd1ced |
|
BLAKE2b-256 | ca1d03d7fb5bf64e127d3359c814abad161b21420c65dfd24afe009e8258735b |