Python binding to the Networking and Cryptography (NaCl) library
Project description
PyNaCl is a Python binding to the Networking and Cryptography library, a crypto library with the stated goal of improving usability, security and speed.
Installation
Linux
PyNaCl relies on libsodium, a portable C library. A copy is bundled with PyNaCl so to install you can run:
$ pip install pynacl
If you’d prefer to use one provided by your distribution you can disable the bundled copy during install by running:
$ SODIUM_INSTALL=system pip install pynacl
Mac OS X & Windows
PyNaCl ships as a binary wheel on OS X and Windows so all dependencies are included. Make sure you have an up-to-date pip and run:
$ pip install pynacl
Features
Digital signatures
Secret-key encryption
Public-key encryption
Changes
1.0.1:
Fix an issue with absolute paths that prevented the creation of wheels.
1.0:
PyNaCl has been ported to use the new APIs available in cffi 1.0+. Due to this change we no longer support PyPy releases older than 2.6.
Python 3.2 support has been dropped.
Functions to convert between Ed25519 and Curve25519 keys have been added.
0.3.0:
The low-level API (nacl.c.*) has been changed to match the upstream NaCl C/C++ conventions (as well as those of other NaCl bindings). The order of arguments and return values has changed significantly. To avoid silent failures, nacl.c has been removed, and replaced with nacl.bindings (with the new argument ordering). If you have code which calls these functions (e.g. nacl.c.crypto_box_keypair()), you must review the new docstrings and update your code/imports to match the new conventions.
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 PyNaCl-1.0.1.tar.gz
.
File metadata
- Download URL: PyNaCl-1.0.1.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d21d7a7358a85fb9b9ddadfbd1176c40fe199334fe2202881255e77f6d3773f4 |
|
MD5 | 12fd03d8ce64e0318cb1c69272f17704 |
|
BLAKE2b-256 | dd99bc86d40c88c1e1c6c9338d5afa91e3126d1ae28ad1bdfac79ab5b01803df |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 100.6 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5c8a1084cc2c0c9fe1e9ee9b626adda7b89eed82677195fcd194323f83544f8 |
|
MD5 | 843806e4724d08092ca65621aec5c853 |
|
BLAKE2b-256 | 94f1c21b4fa3c1c80ecf06d9f2db742bb27975a6215f222d783dccff06c3caaa |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp36-cp36m-win32.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp36-cp36m-win32.whl
- Upload date:
- Size: 104.8 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e7b0a54aa3fc689f9ca34ef0d0bc21203dea87a3da120230b9a3d04bb95075c |
|
MD5 | 9b26e683571da0d90871a5519a504331 |
|
BLAKE2b-256 | 0f0997c94c32664e2d02ebf1af0f0bca1e821dd697aa8f93554cb95a6a989692 |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp36-cp36m-macosx_10_6_intel.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp36-cp36m-macosx_10_6_intel.whl
- Upload date:
- Size: 137.7 kB
- Tags: CPython 3.6m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2066cb852e369888798bd50506d185b1a64d83ed4a7aac181d60466e91d4c56a |
|
MD5 | b76ee7f8be59659d3d9275d851c7dc8f |
|
BLAKE2b-256 | 3de2cfa10565a56375294a1b7ea2e610612af580e16af1c0b2752081083eaaf4 |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp35-none-win_amd64.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp35-none-win_amd64.whl
- Upload date:
- Size: 102.2 kB
- Tags: CPython 3.5, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 394853427159419c5dcd3d5cd8db2f14592ac3b5215df6ae16613577b21b76e8 |
|
MD5 | 706b2757c00fc6de9865739d08249bca |
|
BLAKE2b-256 | e9c921d81a860065317941e01856c39d0eec3d70f76a4a0e7c7eceae0e918b60 |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp35-none-win32.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp35-none-win32.whl
- Upload date:
- Size: 103.8 kB
- Tags: CPython 3.5, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e40487e3b8d0a16f038970732c3705a89b0a188c065603edd871b6a25a40bf97 |
|
MD5 | 6d3d4ee6c9c12f1b2db509a6ac187503 |
|
BLAKE2b-256 | 3797e1271a03498a83f32b025fefa85e8c013b7a4c43302d274a37362b85043b |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp35-cp35m-macosx_10_6_intel.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp35-cp35m-macosx_10_6_intel.whl
- Upload date:
- Size: 138.1 kB
- Tags: CPython 3.5m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd0106f4a337c428f3113927b14b0e877e7a0eb3cdc25fabcb6584d7be21ad2 |
|
MD5 | 373dfe721924c4c7226985f1ed6a4c0d |
|
BLAKE2b-256 | b6c3592e1759d8e72a20d86d7d479205b5712ce0cfccb6c6e4d0b385b460a298 |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp34-none-win_amd64.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp34-none-win_amd64.whl
- Upload date:
- Size: 99.2 kB
- Tags: CPython 3.4, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc49ee007f194fa4b4070f8a1a4c58dc5c32f9340134cfc5becc2d5775350697 |
|
MD5 | 0a0872149d60288c262c1d89edea9ae8 |
|
BLAKE2b-256 | 284877e606d42d59b184bd2722d3520f85cb12d7771eb9c0fa11a061b0f0589e |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp34-none-win32.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp34-none-win32.whl
- Upload date:
- Size: 103.6 kB
- Tags: CPython 3.4, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e16443657b7ed37878fdd4783c45b96e7b7e00dfa19736638b03c3c632080d4 |
|
MD5 | 8ff88f9f9c09beb8cb3de782d9e3cad8 |
|
BLAKE2b-256 | 4d3af8fd8fb11a97f7f2c8f9972cf5af65176c8c35256b91cb83be8a1b44020f |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp34-cp34m-macosx_10_6_intel.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp34-cp34m-macosx_10_6_intel.whl
- Upload date:
- Size: 138.0 kB
- Tags: CPython 3.4m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7d209742f2b075efd7b796709a29809368e68d2a4b319a5515bc51d4dde92be |
|
MD5 | 7aae94448fb834e3a2f4333d666dd576 |
|
BLAKE2b-256 | b7d5356b3742ed54b636c7a3b1eaac4657c1ecceb6b9a6d08fd1f7462a4fbf05 |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp33-none-win_amd64.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp33-none-win_amd64.whl
- Upload date:
- Size: 99.2 kB
- Tags: CPython 3.3, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf183495fd655706e17e1cc92a2b6bdd27c74aebcfa34425035217c6a55d4229 |
|
MD5 | 782e9081d385d563e7bc2af0c2b0314a |
|
BLAKE2b-256 | bf414f2bfef05ebbf4b5b26a2bbe9755bc378151a67be4e018686df53e4610ae |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp33-none-win32.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp33-none-win32.whl
- Upload date:
- Size: 103.6 kB
- Tags: CPython 3.3, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b866c28ab1700efccf0468ede2ecaf550c2f8ab7e84828b05b7c45496a86bd34 |
|
MD5 | da883d1ca27c1f27ec6273b88aa7fc93 |
|
BLAKE2b-256 | 00532483ebeb91d5ccb11a89a01f2c339e5c5e8f6727512c34ff8a6886fa2b95 |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp33-cp33m-macosx_10_6_intel.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp33-cp33m-macosx_10_6_intel.whl
- Upload date:
- Size: 138.0 kB
- Tags: CPython 3.3m, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d307a9bc2b0502e4111a9c2324dddb828efcb84d54e3dd41d1eaae3d3cf98e37 |
|
MD5 | 5f573fc8fef51d9263689b5124352eeb |
|
BLAKE2b-256 | 4159f97005cd6f25457285546f1edf992ac067f900b30208b1f0b7a79ed28148 |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp27-none-win_amd64.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp27-none-win_amd64.whl
- Upload date:
- Size: 99.2 kB
- Tags: CPython 2.7, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49f7f7cfcd25db335262818266c40b12a3d3885cd3011ddc6258394418ec8c9c |
|
MD5 | ce52aa19a12f2f915121a1c92752b101 |
|
BLAKE2b-256 | 37c4f82e72b9178230c1efaa9729b50244c0ae6132dce5f423b6f88ade782015 |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp27-none-win32.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp27-none-win32.whl
- Upload date:
- Size: 103.7 kB
- Tags: CPython 2.7, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96fe0af92008488c0ad805920ccb7abc6742cfeef173f0c117f2f26a054b33ee |
|
MD5 | 510e6b2999dcce2e1335649b3abf659e |
|
BLAKE2b-256 | 6e41fb56e3b439c4a0339030b9da471516f238dc8a34bb389bfd15606618084d |
Provenance
File details
Details for the file PyNaCl-1.0.1-cp27-none-macosx_10_6_intel.whl
.
File metadata
- Download URL: PyNaCl-1.0.1-cp27-none-macosx_10_6_intel.whl
- Upload date:
- Size: 138.0 kB
- Tags: CPython 2.7, macOS 10.6+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb7ba561a8ae2faeeafae38218100f015c4055408af1eda5f9ff7c536cdd3faf |
|
MD5 | 3d24d6e9786fb079c6b31634aa587fc2 |
|
BLAKE2b-256 | c8398d8f4a3273c99658f6d5f66c853cfe8f06fca7637b5b15912162c19f43e5 |