Crates.io | noise-protocol |
lib.rs | noise-protocol |
version | 0.2.0 |
source | src |
created_at | 2017-02-26 06:01:38.238821 |
updated_at | 2023-11-01 14:27:59.241847 |
description | Noise Protocol Framework implementation. |
homepage | |
repository | https://github.com/sopium/noise-rust |
max_upload_size | |
id | 8688 |
size | 50,198 |
Implementation of the Noise Protocol Framework in Rust.
Revision 34 is implemented.
Test vectors from cacophony and snow are successfully verified.
no_std
. Feature use_alloc
can optionallly be used
as an alternative to std.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:
X25519 | AES-256-GCM | Chacha20-Poly1305 | SHA-256 | SHA-512 | BLAKE2s | BLAKE2b | |
---|---|---|---|---|---|---|---|
rust-ring | ✔ | ✔ | ✔ | ✔ | |||
rust-crypto | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
You can also plug in other primitive implementations by implementing the DH
,
Cipher
and Hash
traits.
no_std
usageThe noise-protocol
crate supports no_std
, if default features are
disabled.
Unlicense.