Skip to content

PreVeil/pynacl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyNaCl

Latest Version

image

image

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.

About

Python binding to the Networking and Cryptography (NaCl) library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 72.2%
  • Shell 13.7%
  • Makefile 9.9%
  • Assembly 1.7%
  • Python 1.7%
  • M4 0.6%
  • Other 0.2%