Crates.io | noise_sv2 |
lib.rs | noise_sv2 |
version | 1.2.0 |
source | src |
created_at | 2021-06-14 17:26:11.989702 |
updated_at | 2024-10-17 12:52:28.400386 |
description | Sv2 noise |
homepage | https://stratumprotocol.org |
repository | https://github.com/stratum-mining/stratum |
max_upload_size | |
id | 410018 |
size | 104,577 |
noise_sv2
is primarily intended to secure communication in the Stratum V2 (Sv2) protocol. It handles the necessary Noise handshakes, encrypts outgoing messages, and decrypts incoming responses, ensuring privacy and integrity across the communication link between Sv2 roles. See the Protocol Security specification for more details.
AES-GCM
and ChaCha20-Poly1305
.Initiator
and Responder
roles required by the Noise handshake, allowing both sides of a connection to establish secure communication.To include this crate in your project, run:
cargo add noise_sv2
This crate provides example on establishing a secure line: