Skip to main content

Python bindings for libsodium/tweetnacl based on ctypes

Project description

This library is used to gain direct access to the functions exposed by Daniel J. Bernstein’s nacl library via libsodium or tweetnacl. It has been constructed to maintain extensive documentation on how to use nacl as well as being completely portable. The file in libnacl/__init__.py can be pulled out and placed directly in any project to give a single file binding to all of nacl.

Higher Level Classes

The libnacl code also ships with many high level classes which make nacl cryptography easy and safe, for documentation please see: http://libnacl.readthedocs.org/

Why libnacl

There are a number of libraries out there binding to libsodium, so why make libnacl?

  1. libnacl does not have any non-python hard deps outside of libsodium

  2. libnacl does not need to be compiled

  3. libnacl is easy to package and very portable

  4. Inclusion of high level pythonic encryption classes

  5. Ability to have a single embeddable and transferable bindings file that can be added directly to python applications without needing to dep libnacl

This makes libnacl very portable, very easy to use and easy to distribute.

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

libnacl-1.4.3.tar.gz (28.8 kB view details)

Uploaded Source

File details

Details for the file libnacl-1.4.3.tar.gz.

File metadata

  • Download URL: libnacl-1.4.3.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for libnacl-1.4.3.tar.gz
Algorithm Hash digest
SHA256 873614913c90c4011f791a8fd1448f6bb3ab7dc8cdd329d1baaa65e7e1d1a929
MD5 27f57f34ce6e0fe1dba7c754bd83773f
BLAKE2b-256 f03ec034baabd29a6aa1536ee47969f80d5fdbe2932d6c2599c7f78e90252bd3

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