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 Distribution
File details
Details for the file pymonocypher-0.1.2.tar.gz
.
File metadata
- Download URL: pymonocypher-0.1.2.tar.gz
- Upload date:
- Size: 87.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70a94b43916c8826c550b85798924934e8d564b13c5e38fb4416fcbe334582dd |
|
MD5 | 37420fa428598b5e33e8006623083454 |
|
BLAKE2b-256 | 81451a558416525fd741a03a21135172e2b5bf67388591d201a1d0ebe532beba |
File details
Details for the file pymonocypher-0.1.2-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: pymonocypher-0.1.2-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 83.5 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcad4643d26245da86b7abb6e4b8ce86de43f081f4acba2b8ec1096c7884ac40 |
|
MD5 | 00d7fcbeaf5e17e563cdd47b46f4b55d |
|
BLAKE2b-256 | b2a883fa38c2cdc8fa5dde6c6174ece89fa6a6abd1d3cfdd5d213fce33c9cc9c |