#io-stream #wrapper #send #encryption #securely #relay #gday

gday_encryption

Minimal ChaCha20Poly1305 encryption wrapper around an IO stream

1 unstable release

0.1.1 Jun 7, 2024

#633 in Cryptography

Download history 146/week @ 2024-06-03 18/week @ 2024-06-10

164 downloads per month
Used in 2 crates

MIT license

20KB
381 lines

Note: this crate is still in early-development, so expect breaking changes.

gday_encryption

Crates.io Version docs.rs

Want to send files easily, securely, and directly, without a relay or port forwarding? Then go to the gday page.

WARNING! This library has not been officially audited for security.

This library provides a ChaCha20Poly1305-encrypted wrapper around any IO stream.

This library is used by gday when transferring files. TLS wasn't used because there aren't any Rust TLS libraries with good peer-to-peer support.


lib.rs:

Note: this crate is still in early-development, so expect breaking changes.

A simple encrypted wrapper around an IO stream. Uses chacha20poly1305 with the chacha20poly1305::aead::stream.

Dependencies

~760KB
~13K SLoC