#libsodium #nacl #crypto #encryption-decryption

barnacl

Fast cryptographic library for Rust (bindings to libsodium)

2 releases

Uses old Rust 2015

0.1.1 Jul 11, 2015
0.1.0 Jul 10, 2015

#25 in #nacl


Used in libgitmask

MIT license

2MB
2.5K SLoC

sodiumoxide

NaCl (pronounced "salt") is a new easy-to-use high-speed software library for network communication, encryption, decryption, signatures, etc. NaCl's goal is to provide all of the core operations needed to build higher-level cryptographic tools. Of course, other libraries already exist for these core operations. NaCl advances the state of the art by improving security, by improving usability, and by improving speed.

Sodium is a portable, cross-compilable, installable, packageable fork of NaCl (based on the latest released upstream version nacl-20110221), with a compatible API.

This package aims to provide a type-safe and efficient Rust binding that's just as easy to use.

Dependencies

Sodium

Building

cargo build

Testing

cargo test

Documentation

cargo doc

Documentation will be generated in target/doc/...

Most documentation is taken from NaCl, with minor modification where the API differs between the C and Rust versions.

Documentation for the latest build can be found at http://rustyhorde.github.io/barnacl.

Examples

TBD

Join in

File bugs in the issue tracker

Master git repository

git clone https://github.com/rustyhorde/barnacl.git

License

MIT

Status

Dependencies