Skip to main content

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymonocypher-4.0.2.2.tar.gz (435.8 kB view details)

Uploaded Source

Built Distributions

pymonocypher-4.0.2.2-cp312-cp312-win_amd64.whl (91.8 kB view details)

Uploaded CPython 3.12 Windows x86-64

pymonocypher-4.0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (445.2 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pymonocypher-4.0.2.2-cp312-cp312-macosx_10_9_universal2.whl (200.3 kB view details)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

pymonocypher-4.0.2.2-cp311-cp311-win_amd64.whl (91.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

pymonocypher-4.0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (445.7 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pymonocypher-4.0.2.2-cp311-cp311-macosx_10_9_universal2.whl (198.4 kB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

pymonocypher-4.0.2.2-cp310-cp310-win_amd64.whl (91.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

pymonocypher-4.0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (411.7 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pymonocypher-4.0.2.2-cp310-cp310-macosx_10_9_universal2.whl (197.2 kB view details)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

pymonocypher-4.0.2.2-cp39-cp39-win_amd64.whl (92.0 kB view details)

Uploaded CPython 3.9 Windows x86-64

pymonocypher-4.0.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (414.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

File details

Details for the file pymonocypher-4.0.2.2.tar.gz.

File metadata

  • Download URL: pymonocypher-4.0.2.2.tar.gz
  • Upload date:
  • Size: 435.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.9

File hashes

Hashes for pymonocypher-4.0.2.2.tar.gz
Algorithm Hash digest
SHA256 c023fe4949e76cfaa797e30c3682d9b9d1923db18d2fdcebda753f5a97b7ca8e
MD5 c1c4f611bc040cf08168ea4c3ba95964
BLAKE2b-256 6385a58bd172e96ae79814311a1df7539a3a3f9c182d2ad451b64e228dc1d619

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fd950326fedc62ba257d5506f9bfff0d2091d89ed0e3e77e366034ac4742d357
MD5 c27a317b62124ed174d66a3a9d96a060
BLAKE2b-256 84a81259f3db8fec61ec18ad0710375079ebc3dc4e7599fe1e0827d6c706b06c

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ecb4fbbff967d46dd84425a6fdd32537508dcdaf048ecc87231f66770259f7b3
MD5 f0d0969c43bf0f7c9903ebc179459b72
BLAKE2b-256 4a6da79f0594aeca913632e17d0ee316ba17d5708e856d3692d090a56e0afd7c

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f083a31d320bedf85941e0b94810206704c64b27dcefc3695e81bb2e0e6e9195
MD5 d1cac984d683b92154b9f33e1b0aed2a
BLAKE2b-256 ff5ee64e7072cef866cce5f7e7fc569c4c5cff8f08718fe380c850779d264d0b

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1eb259f6f82069d158260601d3ea28417c84fb8a847a82c13039cbde4582ba46
MD5 aba539a62c8dcf1fdb0638083da69676
BLAKE2b-256 7a1e117fd6908bcf40efbc819030d36f6dd6993d48215cd9310d88133bd5f3ac

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5c8032fa40821f8ecc789169b0e2a51ed4b9853a8a27157998a14525b25b208
MD5 9d6fbcceffd78ee241a9c2cb33a4786d
BLAKE2b-256 6ce55724807c0d9383576e37987e07e123dd81bbca48ecc69508331f78611062

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8fb47e89d4a2ab672e4b007da8d40bc5d358c06ba5f4a9a181a2ba0d4b1cbb7d
MD5 24992874776b9df6a04fad7ce850db11
BLAKE2b-256 ebad840eb4b843a8f2bb0c88675d20e23280023f21aa5bf6d3d26fcbfcb28325

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f884e40dd4648c10ef4d45d723d29134a25e948c0c30ed991c4d5ab207a6fab5
MD5 c7526b2a2fda5715a8019b7527643978
BLAKE2b-256 931706dce87ddcb15eb4f73401405220a7a094c587f31647267118ed17aa91a4

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c9f07707aa88c8702f62fb96694745c74fec6436f78dda3029349a7a279291c6
MD5 bc32a5a0c176d7ba1a789f444ef13502
BLAKE2b-256 dd54585767676051831a1e293e6353e89286e9f7b539fbad27031202f26361c9

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 74c8b4c6e73d9946d199257c2bb6f8813c07edaeb3861b7d3cbba65a34b48871
MD5 bf900baa891fd4d27173cecb8b7fde92
BLAKE2b-256 8ea87126742b61bc2a8b29ce867919994e77432b462001541b8b9aa67708ab60

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9c66adf54d760a5f0cef9dba406c6d07d4df510e29a446f722b4d8233863a20b
MD5 ae674a94a75b1eacab59783d61a64a2c
BLAKE2b-256 933efb6ffa5bfc4cac04de00b2fbb74ec36ec6022a78110878579fa5521b13e2

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4f9ad0615c2c5aabc07766de5a877a8d2d3160ea3ceaa780682b48b6c46d8174
MD5 741e99a2d88b68fb0d6783e08a38af4c
BLAKE2b-256 977775c5fc6874a4d53add62451ce594d175715c69f0e3c12470369e25c076cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page