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

Uploaded Source

Built Distributions

pymonocypher-4.0.2.5-cp313-cp313-win_amd64.whl (91.5 kB view details)

Uploaded CPython 3.13 Windows x86-64

pymonocypher-4.0.2.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443.8 kB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

pymonocypher-4.0.2.5-cp313-cp313-macosx_10_13_universal2.whl (198.7 kB view details)

Uploaded CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)

pymonocypher-4.0.2.5-cp312-cp312-win_amd64.whl (92.2 kB view details)

Uploaded CPython 3.12 Windows x86-64

pymonocypher-4.0.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446.0 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pymonocypher-4.0.2.5-cp312-cp312-macosx_10_13_universal2.whl (201.0 kB view details)

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

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

Uploaded CPython 3.11 Windows x86-64

pymonocypher-4.0.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (447.7 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pymonocypher-4.0.2.5-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.5-cp310-cp310-win_amd64.whl (91.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

pymonocypher-4.0.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (413.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

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

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

File details

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

File metadata

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

File hashes

Hashes for pymonocypher-4.0.2.5.tar.gz
Algorithm Hash digest
SHA256 472babbf218773bb6d3e396aac20749beaeb3bea505da0df992dbd97410bef98
MD5 8b2211379f4986f6648d095dd5902f10
BLAKE2b-256 3950e96d91de02d2ea133c34a44116d926ce1c4c5acc47d54eb7a828fec2c86c

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.5-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fce52cf18c2e1f4da9acd6ac64936aef816c70d7b149358b569e5adb3aa8fc85
MD5 def35a365e353bbbc6fa071e664ec560
BLAKE2b-256 69a4069d85641271cc7023c1b86d9b2c02f2ac778adc59f1238aa0a1eedb0bea

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e32f4d62f769c75ee6b59aff09b5c4bfddb9e345d86de0b8e5f595e763287a00
MD5 8eb58cbead9278822aed270172272042
BLAKE2b-256 b9a07db204861c9b704e223119f21e21babf1bedd319b7a0e2639924cb7d0049

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.5-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 5f14af960e99c7efff976984b926e4f74df31871374444812db8e61ae9597f4e
MD5 675248d9a06634290189bae9ab7b0663
BLAKE2b-256 caf83b3ce0a0235a2f98bf9de6e9e4e68a46dba0aa365178d7d536ecaebce186

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1bd9eeba963f90926dcf68378a879232d7a32451d70c869186632079b3d455ef
MD5 8db779a9dc2a7b6be05ed336f5f08c9f
BLAKE2b-256 d479a65bc8f7f56ea98d7b847e5c2175e3981399968e3094573cf52a37844b5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5393da6fc06c3dcae8b8e7f6101f94ab5dd81371c497ae54326abd62f18c9be3
MD5 e392921dce68eac5239488c5bb8e5fe8
BLAKE2b-256 1c8402d223932b3fc91389fdbc093013791eaa06fb686e2550ca5ef535ce5422

See more details on using hashes here.

File details

Details for the file pymonocypher-4.0.2.5-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 982afda5d0d0a9da8062302541888df186aa7aa99204ba27b14d3d4bacfbb52c
MD5 57c6b9ece58c4c119618c15aea6e1287
BLAKE2b-256 06482aee156e9d21c2465992d5b31190a5260553fbf0013f2381a13df6353529

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8f5deb39d3391f08ea6b0f4dd58a36d39613bc65e917e9e8bb23fa6e4008a7c3
MD5 108c2af96043e4bb4e5b159533927665
BLAKE2b-256 114ca08e1cda76d9506de4a1c0580b722bd0ba8cd474f8e4639bb7fdfe16555f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c322ab23b6f2e696ef24c19b69cda34bb24122b987508c0ae22380d48a7a1318
MD5 b516265f13486fb95107664a4629ab0a
BLAKE2b-256 de6491e118e1c40fa557b54c82d5fff207eea67273c0fb838aae495674469ad7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9126730fe492126e2497c46fe4ea137dbec48654b1c59a8066f171158ff1868b
MD5 9d1a03931bd0e8ee2ef1cfc39d0dcbee
BLAKE2b-256 d5a64546605fa80b81d52ae9537f271b78f0cbbcb6b397fb0dd1050312dab171

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3ccd6c8ec54f077688ad1a39f50a05c90815818f5bab03372d3bc807c4798519
MD5 bdda723107e6fd61df6668d08adffaf3
BLAKE2b-256 63a46bc64e2da52d0c9d74a3a4dfa3785f2966c3f98d98743fbdc51526b748db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 376f8caf2d5005515e4ff93923c334a52e827d912bc04b86da8f9b25f2e222c9
MD5 6265b7448959a9fff73ecd59ee9fc80c
BLAKE2b-256 e6a5a44eb86d296802ff2ad5f0aa18997433d01899a3ba4a0e688a33827b1b0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.5-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3e7515814e0dbe3d53b3d20e6585987035b6f2dc9a76be35ad7d267c0b067ffe
MD5 caf0a27321d421f10c82c61b34e25e82
BLAKE2b-256 72c2570329e45357b0b3149b9d929bc64f30e1f7d6d96066c9b288d24530067c

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