Giter Club home page Giter Club logo

libnacl's Introduction

Python libnacl

This library is used to gain direct access to the functions exposed by Daniel J. Bernstein's nacl library via libsodium. 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.

Install

The libnacl code is easiy installed via a setup.py from the source or via pip.

From Source:

tar xvf libnacl-1.5.2.tar.gz
cd libnacl-1.5.2
python setup.py install

Via Pip:

pip install libnacl

Remember that libnacl can be installed for python 2 and 3.

Linux distributions

Libnacl is shiped with many linux distributions, check your distribution package manager for the package python-libnacl, python2-libnacl and/or python3-libnacl.

libnacl's People

Contributors

aboe76 avatar andreasbaumann avatar brainwater avatar brandonmoak avatar cjwatson avatar cro avatar darix avatar dbrgn avatar doc-hex avatar fletom avatar jedisct1 avatar jheling avatar johnttan avatar julianhille avatar kmosiejczuk avatar kpcyrd avatar lgrahl avatar lvzon avatar michaelmendoza avatar mindw avatar mk-fg avatar mumbleskates avatar nielszeilemaker avatar s0undt3ch avatar smithsamuelm avatar terminalmage avatar thatch45 avatar whs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.