1 unstable release
0.1.1 | Jun 7, 2024 |
---|
#633 in Cryptography
164 downloads per month
Used in 2 crates
20KB
381 lines
Note: this crate is still in early-development, so expect breaking changes.
gday_encryption
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