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.4.tar.gz (437.2 kB view details)

Uploaded Source

Built Distributions

pymonocypher-4.0.2.4-cp312-cp312-win_amd64.whl (92.3 kB view details)

Uploaded CPython 3.12 Windows x86-64

pymonocypher-4.0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (447.0 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pymonocypher-4.0.2.4-cp312-cp312-macosx_10_9_universal2.whl (202.8 kB view details)

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

pymonocypher-4.0.2.4-cp311-cp311-win_amd64.whl (91.9 kB view details)

Uploaded CPython 3.11 Windows x86-64

pymonocypher-4.0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (447.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pymonocypher-4.0.2.4-cp311-cp311-macosx_10_9_universal2.whl (201.2 kB view details)

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

pymonocypher-4.0.2.4-cp310-cp310-win_amd64.whl (91.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

pymonocypher-4.0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (413.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pymonocypher-4.0.2.4-cp310-cp310-macosx_10_9_universal2.whl (200.1 kB view details)

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

pymonocypher-4.0.2.4-cp39-cp39-win_amd64.whl (92.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

pymonocypher-4.0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (416.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

File details

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

File metadata

  • Download URL: pymonocypher-4.0.2.4.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

Hashes for pymonocypher-4.0.2.4.tar.gz
Algorithm Hash digest
SHA256 a4a19d54480afe488f460149039ed2ec58a2ed183629f940002eaabe32fc9bd9
MD5 1098560a7929ebcb08fa3d82096288f6
BLAKE2b-256 7823a04416243bbbd5a2ab7a01c0aedc5cf895756224bcb5013b59cdb17f0b49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a6cc2c3f5580c972ce9ef153a69a0f525feca9caf6ebc378975152ff34903d4d
MD5 dc3abe08f2237f7357bfe54d7d631381
BLAKE2b-256 f7e436159bbd9331511dad13c28aaf2299286d7b169414fce149b8ac5b4b184b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5adfee93278e1654becf05ffe810cebdd2cf31f2ff682765af5615ba3808c44b
MD5 290cae00939f12ae02edacb183672224
BLAKE2b-256 535fecacf0d4f0d12601b33c94bceda344e19feb4f179eb7c68ae0082e275f40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 4d01749c9f996ef494f14e6fd491a604f9a16e52e99917982e46cf254e570979
MD5 1c2d04147708604d06cceb003c5719ab
BLAKE2b-256 de61bf06ee6a1fde7601ca7b5de90c2613ba355c7a2f698984e67a5efbf218fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7148f5932a0b0e36b5c32171bd68637a3337bd348c448c2737e7db4706068e34
MD5 4d922dfcd7da88c05c59b2e7ccc03145
BLAKE2b-256 404dc6fcc0007dc6a2862a427d35a663113d38f40c9901f70307bee7723a9dfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8e8cfa2297149ec0eaeb009d5388d861b4b28161b2ef622cb73470c62d100078
MD5 0e16859de27839fd79644c69845324bc
BLAKE2b-256 8e6d284352ae636aa60be73f040c1987633807a55c27403692ed222780dc9f39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0fcc0f14b120289fc446f2509e0a0ffd3b7b15c2b2b9f4ad4745115af80a7213
MD5 9832a20004f6178090a3c791e82d6cd9
BLAKE2b-256 0700b2de49b4f4b080df0dd7436bffaac079815625a03c6a411d0ef401a56c7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 56f0cbb3b5a533f79b097991403c4114742ffb62b0cd834ad0b5caf3bca54586
MD5 cede6af498d8c2258e96d97a2d244edc
BLAKE2b-256 fe0ca71297e73ea27e5769dd3da37f606a1bdda31832b6d49c8dba8bed2521cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e0ead1f540bec88c1c93121df68598bf04688bd502384bf772037d828098ada
MD5 8f81cb6fa20efa344fc0e08f5910e1e8
BLAKE2b-256 c1152e9b6db43afcf28d9aaf33d6323828aeeb09b6eb44fef00e0134c7036fd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7639c669cb3ec68adf1d1f3250ea0f3aa5c12ea0976cbc4840833a5cbe95336b
MD5 faf80885dfb6af1e9d4765524092a2f2
BLAKE2b-256 6805eda8189679893056ba471ef358754a3d8d80bc1ed19c7919e1ca6e7c49f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6e2c2c0c583facbf61bf51f6ee1662349be7ea13a3bce91fc4244e56ebca4315
MD5 e1f033fc3b5b1b9538ae5ecc43aef202
BLAKE2b-256 817fb50acf818f85b731b2727241c2d32b80593d51a94528131c37b1c72f9b09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b39733ebcb79cf60ed5997d1d4ae3716fdc9669fa3a8ca89b71b392bd0e4a94e
MD5 12748e094706d4ca32d61039bc183684
BLAKE2b-256 e274c019dc798b873d6849a2a443bb76dd9c39ca0657ace20876da7ecaa0542b

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