Structs§
- Snow
Framed - Convenient framed stream io with noise protocol support.
AsyncReadandAsyncWriteare implemented. - Winter
Framed - A convenient framed stream writer with noise protocol support. After the
handshake completes, it should be converted to
SnowFramed.
Constants§
- HANDSHAKE_
LEN - Length of the overhead of handshake message:
TAG_LEN+Length of cipher key(32 bytes) - LENGTH_
FIELD_ LEN - Length of length field of a message. Actually 2 could be used, but here we use 3 due to the possibility of breaking: https://github.com/tokio-rs/tokio/issues/4184
- NOISE_
MSG_ LEN - Maximum length of the noise protocol.
- TAG_LEN
- Tag length of
ChaCha20-Poly1305andAES-256-GCM
Type Aliases§
- Snow
Flakes - Framed io with noise protocol support.