Debian Codegraph @

/

debian rust-noise-protocol 0.2.1-1debian librust-noise-protocol-dev debian librust-noise-protocol+default-dev debian librust-noise-protocol+use-alloc-dev debian librust-noise-protocol+use-std-dev debian librust-noise-protocol-0-dev debian librust-noise-protocol-0+default-dev debian librust-noise-protocol-0+use-alloc-dev debian librust-noise-protocol-0+use-std-dev debian librust-noise-protocol-0.2-dev debian librust-noise-protocol-0.2+default-dev debian librust-noise-protocol-0.2+use-alloc-dev debian librust-noise-protocol-0.2+use-std-dev debian librust-noise-protocol-0.2.1-dev debian librust-noise-protocol-0.2.1+default-dev debian librust-noise-protocol-0.2.1+use-alloc-dev debian librust-noise-protocol-0.2.1+use-std-dev cargo noise-protocol 0.2.1 debianjsonmakefilemarkdownrustrust-c-abishelltoml 21 files · 404 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • rust-arrayvec (librust-arrayvec-0.7-dev)
  • cargo, debhelper-compat, libstd-rust-dev, rustc
README (full)

Noise-Rust

Crates.io Docs.rs

Implementation of the Noise Protocol Framework in Rust.

Status

Revision 34 is implemented.

Test vectors from cacophony and snow are successfully verified.

Philosophy

  • Simple: straightforward implementation, small amount of code, almost no dependencies, supports no_std. Feature use_alloc can optionallly be used as an alternative to std.
  • Fast: static dispatch, no heap allocation necessary.
  • Unopinionated: flexible, primitive API, does not dictate how it should be used.

Documentation

Crates

This repository contains several crates. The noise-protocol crate contains the abstract implementation of the protocol framework. noise-rust-crypto provides concrete implementations of the needed crypto primitives. It is a wrapper for x25519-dalek and RustCrypto crates.

The following table shows what primitives each of these crates supports:

X25519AES-256-GCMChacha20-Poly1305SHA-256SHA-512BLAKE2sBLAKE2b
rust-ring✔✔✔✔
rust-crypto✔✔✔✔✔✔✔

You can also plug in other primitive implementations by implementing the DH, Cipher and Hash traits.

no_std usage

The noise-protocol crate supports no_std, if default features are disabled.

License

Unlicense.

dir debian/
dir src/
file .cargo_vcs_info.json
file Cargo.lock
file Cargo.toml
file Cargo.toml.orig
file README.md