#ssh #encryption #openssh #chacha20-poly1305 #crypto

no-std ssh-cipher

Pure Rust implementation of SSH symmetric encryption including support for the modern aes128-gcm@openssh.com/aes256-gcm@openssh.com and chacha20-poly1305@openssh.com algorithms as well as legacy support for older ciphers. Built on the pure Rust cryptography implementations maintained by the RustCrypto organization.

3 releases (breaking)

0.2.0 Aug 12, 2023
0.1.0-pre.0 Jun 21, 2023
0.0.0 May 29, 2023

#2454 in Cryptography

Download history 4432/week @ 2023-12-23 2754/week @ 2023-12-30 7646/week @ 2024-01-06 7007/week @ 2024-01-13 7974/week @ 2024-01-20 6856/week @ 2024-01-27 5775/week @ 2024-02-03 6537/week @ 2024-02-10 5700/week @ 2024-02-17 4862/week @ 2024-02-24 8367/week @ 2024-03-02 7146/week @ 2024-03-09 7435/week @ 2024-03-16 7577/week @ 2024-03-23 8463/week @ 2024-03-30 7411/week @ 2024-04-06

31,595 downloads per month
Used in 62 crates (via ssh-key)

Apache-2.0 OR MIT

59KB
1K SLoC

RustCrypto: SSH Symmetric Ciphers

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Documentation

About

Pure Rust implementation of SSH symmetric encryption including support for the modern aes128-gcm@openssh.com/aes256-gcm@openssh.com and chacha20-poly1305@openssh.com algorithms as well as legacy support for older ciphers.

Built on the pure Rust cryptography implementations maintained by the RustCrypto organization.

Minimum Supported Rust Version

This crate requires Rust 1.60 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~305–550KB
~11K SLoC