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-4.0.2.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff73a322d13dc36e5fae9ab95963686dec898fd885e218e0e255573ab2663a5f |
|
MD5 | a0ae2d34a9464d0e3065aa6a35a30c12 |
|
BLAKE2b-256 | 303832e2b42717429120b52bf977230eeb3f0b80feb68879463b3fff6b76946d |
Hashes for pymonocypher-4.0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58b33e43e46720fd350f7ed3a61f0054e127bde5abc2884975b46ddf0f32abc6 |
|
MD5 | 08936dec5ba66c360cca20682159c857 |
|
BLAKE2b-256 | d2f3d752a8004778ed28f18f7fe93e2e759d4a2fbff890580e5c6af33209db98 |
Hashes for pymonocypher-4.0.2.1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61bc05da08289de8fccf00d5478a77bd1df52cc99a43ba2c17f6a767807b3a2e |
|
MD5 | 8410594f98f92bbb4d4f658dd693d6cb |
|
BLAKE2b-256 | 8c969857eb0126c18f0f587d112db3d5859ed28ac270b0bfbe55ebda3461da83 |
Hashes for pymonocypher-4.0.2.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 516ffa6f95aeb568a34235152f6eaba6759a897984133262e66ebb1718d93a87 |
|
MD5 | 18577c7e4ebf34be206cf860c9a3b3e2 |
|
BLAKE2b-256 | f9bd3b6c36e1ba5d14e0ca6afc89889a03c8dd985e5b0aac9a25d9b2e01a3570 |
Hashes for pymonocypher-4.0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90163c77010f916489d0e9b22c0ad9ed43b54eab98db2c92a7cfba26b1845289 |
|
MD5 | aed3449524afde7737af0a2572aef455 |
|
BLAKE2b-256 | e6c2af45184f420fcfd2200e46c2f826c4c0f32812f5e0f69a3140336c9ab823 |
Hashes for pymonocypher-4.0.2.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8b149bce0271a752e806288537765efa81da8617a1c4de36099ce213298de66 |
|
MD5 | b1852a770d4bba8a4019f3cd49bc34c3 |
|
BLAKE2b-256 | 061227b6998b12969c9a8a9398bed1a59f43556768887d6606097c0550509ad8 |
Hashes for pymonocypher-4.0.2.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c39c84c41a3e338bb6d6e5e111360b7a41db19c203f1cf3bc02fd8b14087975b |
|
MD5 | 03a409d62b178dfde457aff8f5877083 |
|
BLAKE2b-256 | 68a7f94c4c765fcc849be308dcf66c7739d6f8370ac9e4b141b8e1ae1725076a |
Hashes for pymonocypher-4.0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0394893e19ef1497e58d6695562b43083bbfe030ffbfab6ca77f933bb60bc26 |
|
MD5 | 2d05b190813d76afff940a7609d25ed1 |
|
BLAKE2b-256 | ee2e02cea778438066fb6f140d014ac2b7aadecc2d55ec2c2d6847a912b419a1 |
Hashes for pymonocypher-4.0.2.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4e794ba5903d2d28927561e6a0a79ffac8d88173a603cc04764b4aacd2e0d93 |
|
MD5 | 92a9124426650ee0ee2403b0b2a3f1fc |
|
BLAKE2b-256 | a525d473131a6fb6704c6b45e6c8e4d3ceaab700680bbedf11a4b31b012aa831 |
Hashes for pymonocypher-4.0.2.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aada332bf1ec24945f8093ff026746f6d0879d09e090f2c072c6407a97d1f800 |
|
MD5 | 6f8da1dcaa1be031e87f093b9a66c033 |
|
BLAKE2b-256 | b1af1643b88f2b2ad1f48955504619e8a7b727ff5d6c7cddda2d79bf8079f1a7 |
Hashes for pymonocypher-4.0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 809576def45fd53366ec323c955d1412ca7190aa67d9c41b9cbae1edaacce080 |
|
MD5 | 6cfee6558b1c4052ebdb711b4f83a7d0 |
|
BLAKE2b-256 | 0bc6a17880d591a52a73c25c5d1fe9bb2c884cce6dabb88b45cf08745100e400 |