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.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32110c6dc9b4e89d775687bc1150f5567822f6d20970da464bf61cc629ac84d9 |
|
MD5 | 59b8925793dbad7bc2c2a4a728eb125a |
|
BLAKE2b-256 | 2f9265140d875e8a58f8c0e5b5db585798d5cb967931227d218568b12a40d104 |
Hashes for pymonocypher-3.1.3.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e8e9dc66b5d811df4a0bdc50114662bed9db8a58f4c2b7cc986431d5a3ff66b |
|
MD5 | 6a918f5cae820102861971a65099e4b9 |
|
BLAKE2b-256 | 683f23f10dce7a54f8c438b88bd1ec76057ad0c60536287c3707c8f113dcc56a |
Hashes for pymonocypher-3.1.3.1-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a87dcf4a6af01c7c590a855fe1a21abdba8e4055e116b0968ecc260e584834fa |
|
MD5 | 616c24d7e3cfa8f99cd048c248fc0a2c |
|
BLAKE2b-256 | bb07b103e643e91907697088b1fb9dd9ef473521a2688977f8e3e195d20f3d87 |
Hashes for pymonocypher-3.1.3.1-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86be81716380d2df98576292fa84d8a4575050a55d064f0fec24f2a22980cd0a |
|
MD5 | 7b6307fa380a4a2eff11364b4908da4d |
|
BLAKE2b-256 | 3e50bb8db23a9dcac2f0c3f610500c8bf6d787bd979332506ef98ed0b3b14af8 |
Hashes for pymonocypher-3.1.3.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a90b80bbe1f003d499393f509d5bfd2107f7cbc1f145e37b88925142ab98c10e |
|
MD5 | 7cd140b10bb11e2e81b4d3f3ceaf6d68 |
|
BLAKE2b-256 | 0fb2f896bf196b8ed105ef0e5b39d06a71b10c2bb4347a60003e718fb91ee5ff |
Hashes for pymonocypher-3.1.3.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cad694f716e26374c49dea7d45763139abc0b10e4260e287636dbdeba7653210 |
|
MD5 | c5fecec922ad5907b8c8e1f217eb47c5 |
|
BLAKE2b-256 | b9a2cd7ff782dd5ada257e0ad7c61f2fa5f3b011a009a23066db6acb4c876bea |
Hashes for pymonocypher-3.1.3.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14ee60d488aca68eb27ccc52f467ccca2d255a38fd2c3b1381d130bb30a6ca76 |
|
MD5 | 95244df3cc1eb57b94154d4643277ff2 |
|
BLAKE2b-256 | b06a500155f06619557288b5e6daa36a4df421d845be8c2c35ff46951ac8de80 |