16 releases (10 breaking)

Uses new Rust 2024

0.10.0-pre.3 Mar 7, 2025
0.10.0-pre.2 Aug 14, 2024
0.10.0-pre.1 Jul 26, 2024
0.10.0-pre.0 Mar 8, 2024
0.0.0 Dec 15, 2016

#2961 in Cryptography

Download history 179/week @ 2024-11-30 248/week @ 2024-12-07 186/week @ 2024-12-14 41/week @ 2024-12-21 45/week @ 2024-12-28 17/week @ 2025-01-04 18/week @ 2025-01-11 35/week @ 2025-01-18 49/week @ 2025-01-25 259/week @ 2025-02-01 36/week @ 2025-02-08 64/week @ 2025-02-15 39/week @ 2025-02-22 159/week @ 2025-03-01 120/week @ 2025-03-08 202/week @ 2025-03-15

524 downloads per month
Used in 4 crates

MIT/Apache

16KB
268 lines

RustCrypto: Magma Cipher

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

Pure Rust implementation of Magma (GOST 28147-89 and GOST R 34.12-2015) block cipher

⚠️ Security Warning: Hazmat!

This crate does not ensure ciphertexts are authentic (i.e. by using a MAC to verify ciphertext integrity), which can lead to serious vulnerabilities if used incorrectly!

No security audits of this crate have ever been performed, and it has not been thoroughly assessed to ensure its operation is constant-time on common CPU architectures.

USE AT YOUR OWN RISK!

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

~640KB
~17K SLoC