Skip to main content

Python binding to the Networking and Cryptography (NaCl) library

Project description

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.

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

PyNaCl-0.3.0.tar.gz (2.6 MB view details)

Uploaded Source

File details

Details for the file PyNaCl-0.3.0.tar.gz.

File metadata

  • Download URL: PyNaCl-0.3.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyNaCl-0.3.0.tar.gz
Algorithm Hash digest
SHA256 124997314455605f61afae6cf8b99b32d10f2dba22f114acb4c80d352eed76c2
MD5 04dc891f6b95e3defa8a35ade57559c9
BLAKE2b-256 1aa1752a313b753e694c1efa2657143e734fe3fd8368a55bff1cc3afce47a4c7

See more details on using hashes here.

Supported by

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