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
File details
Details for the file pymonocypher-4.0.2.3.tar.gz
.
File metadata
- Download URL: pymonocypher-4.0.2.3.tar.gz
- Upload date:
- Size: 437.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b7c9db5e3d6012205cae8c57a97258c54d32634f00125b87d4bc09a8d739d34 |
|
MD5 | d318619fa2dc67a790b06c595ab94700 |
|
BLAKE2b-256 | f552751161f7453bb5ffd0b556035753fbf1cfc16c87fef7cc5a14d0d07f2832 |
File details
Details for the file pymonocypher-4.0.2.3-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 92.6 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26ce3c0b038d9c47badefbd2ba9818e9c41aec14276d333336d2a5be68bfb83c |
|
MD5 | c3194b2c98afbee1898cb3cc880ebdb6 |
|
BLAKE2b-256 | ad1a8cd2a2b7109a7b41be885583ae14ff0bfe950e2a0a5dcd1a48a16bcb6d51 |
File details
Details for the file pymonocypher-4.0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 450.5 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ece6216aa857ccb564bd49ba0758a5f3923f4c5a36537da5690a5cd55e7c589 |
|
MD5 | a2fa3f0c92a1e3dbefaf51d9452968e3 |
|
BLAKE2b-256 | 86ff0d6a3d18fd61d5601aedeae540655873b92f54cadc2ff75dd37b5771586f |
File details
Details for the file pymonocypher-4.0.2.3-cp312-cp312-macosx_10_9_universal2.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp312-cp312-macosx_10_9_universal2.whl
- Upload date:
- Size: 203.4 kB
- Tags: CPython 3.12, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4459315299d4ab151287763ceb26682f9177196b343daad3c2771e0e61f5bcb |
|
MD5 | 042203dae9ff961a2af99aa934824700 |
|
BLAKE2b-256 | 78e055fcb0ed648cde876f3b321ad2d1125ee812b5c798802be7484863767e16 |
File details
Details for the file pymonocypher-4.0.2.3-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 92.0 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b31682089d1d451bf5e5097d8e117bc169a0669a827c98dc2076f23f10096d7d |
|
MD5 | 66c664bf8e9d6ac4bbc6bbfe19221b07 |
|
BLAKE2b-256 | f044c5e1e0d30e6548e6c6dde232eb795c0191b1b239c059ee3db2315ba1e6e0 |
File details
Details for the file pymonocypher-4.0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 451.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ee6b3820b9a8cee1563398e4a5f731ba51a2110a9865479f3d26306be1412c7 |
|
MD5 | 368c4b4e3d59e3436e6d8b082cdd4b50 |
|
BLAKE2b-256 | b542c660ce349e3798afef5f750cdb401d50be938a7418fb0cae6de527d8de6e |
File details
Details for the file pymonocypher-4.0.2.3-cp311-cp311-macosx_10_9_universal2.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp311-cp311-macosx_10_9_universal2.whl
- Upload date:
- Size: 201.6 kB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6efa9443265abd5b189af904c95883bc1185c9020792b017e3d2604676205351 |
|
MD5 | 20e65cd38dddf0574ba7e7b8847d4430 |
|
BLAKE2b-256 | 1edd54276be61c28c3bee7e8f3b06381c7d7987731848a727d281286cb7fb568 |
File details
Details for the file pymonocypher-4.0.2.3-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 92.2 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c52be5f889a8b0024dbeb8cd43dac5c601d96b281ac925ad47e8ace56ae5421 |
|
MD5 | abfcdaceac1d0fbaf82d12f962645078 |
|
BLAKE2b-256 | c11070265d1462cba6da7b420aae168ca4c41b791035ffc3ce4ffc2788f314fd |
File details
Details for the file pymonocypher-4.0.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 416.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae759beeda3e7df8ddffaa2b20b2e7976cb5f277fc8d88ca721ca96a4a95db1 |
|
MD5 | 6451d0c67c724b27c9ad1dc8793881d5 |
|
BLAKE2b-256 | 8dbca514e8b5df059993aee9594149c35817993c2ef9cee32dc9a7e69017e199 |
File details
Details for the file pymonocypher-4.0.2.3-cp310-cp310-macosx_10_9_universal2.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp310-cp310-macosx_10_9_universal2.whl
- Upload date:
- Size: 200.4 kB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86544b9e21998317cb10e843776c3db279792fc6a8ccc21925e5403f969475f4 |
|
MD5 | e35f706ae62dca206c8763b683573fd5 |
|
BLAKE2b-256 | 6c3c6d1e366be6eefaa85f8bc0b820f673d07c60f824a6b64a8491771f954943 |
File details
Details for the file pymonocypher-4.0.2.3-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 92.8 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89ca4acd44542982f4bc0ceefee83d71f1cddabfc8fff087776f0e0f99bb5527 |
|
MD5 | b7d111aeb7e7c614e5cd25807d2c4256 |
|
BLAKE2b-256 | 8deace8aab2cc6cf59df1c2b873bcc3ca6e0d9b8cddc024f64c0828b8528ef1c |
File details
Details for the file pymonocypher-4.0.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pymonocypher-4.0.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 418.9 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8e621b08ad34745efdf1c42bdb096d63719a17a57cba98f0c163cb73fcd13fb |
|
MD5 | 3b82d83cbb9ce64343e2713d7ea066e1 |
|
BLAKE2b-256 | fb76968a3526338371558017baad456adb56749415800baf8d6b105ec98b4535 |