Rust-Crypto-NaCl
Rust
Latest commit 49c8410 Feb 12, 2015 Yawning Angel Update to be inline with the latest version of other packages.
 * rust-crypto's hsalsa20 function will be free floating instead of
   part of the module.
 * Latest nightly doen't need the "core" feature in lib.
Permalink
Failed to load latest commit information.
examples Initial import. Feb 7, 2015
src
.gitignore Initial import. Feb 7, 2015
Cargo.toml
README.md

README.md

Rust-Crypto-NaCl

A Rust-Crypto based implementation of selected NaCl primitives.

Rust-Crypto-NaCl seeks to provide selected high level primitives from the popular NaCl/TweetNaCl/libsodium family of cryptographic libraries. With a interface that is modeled after the C++ version of the API.

Usage

To use Rust-Crypto-NaCl, add the following to your Cargo.toml:

[dependencies]
rust-crypto-nacl = "*"

and the following to your crate root:

extern crate "crypto-nacl" as nacl;

License

Rust-Crypto-NaCl is dual licensed under the MIT and Apache 2.0 licenses, the same licenses as the Rust-Crypto and the Rust compiler.

Primitives

  • crypto_box ("crypto_box_curve25519xsalsa20poly1305")
  • crypto_secretbox ("crypto_secretbox_xsalsa20poly1305")