Skip to main content

PyNaCl

Latest Version https://travis-ci.org/pyca/pynacl.svg?branch=master https://coveralls.io/repos/pyca/pynacl/badge.svg?branch=master

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

PyNaCl relies on libsodium, a portable C library which can be compiled on a variety of systems. It may already be available from your package manager.

Once libsodium is installed, PyNaCl can be installed by:

$ python setup.py install

Features

  • Digital signatures

  • Secret-key encryption

  • Public-key encryption

  • HMAC (coming soon)

Changes

  • 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.

Metadata

Release files for PyNaCl 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyNaCl 0.3.0
File Size Uploaded
PyNaCl-0.3.0.tar.gz 2.6 MB Details

Release files / PyNaCl-0.3.0.tar.gz

Download URL PyNaCl-0.3.0.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
124997314455605f61afae6cf8b99b32d10f2dba22f114acb4c80d352eed76c2
BLAKE2b-256 checksum
How to use checksums
1aa1752a313b753e694c1efa2657143e734fe3fd8368a55bff1cc3afce47a4c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.6.1

27 release files

1.6.0

27 release files

1.4.0

18 release files

1.3.0

21 release files

1.1.2

28 release files

1.1.1

16 release files

1.1.0

16 release files

1.0.1

16 release files

1.0

1 release file

This release

0.3.0 This release

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page