#block-cipher #gost #crypto

no-std dev magma

Magma (GOST R 34.12-2015) block cipher

15 releases (breaking)

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.9.0 Aug 6, 2023
0.0.0 Dec 15, 2016

#2691 in Cryptography

Download history 186/week @ 2024-07-20 367/week @ 2024-07-27 73/week @ 2024-08-03 165/week @ 2024-08-10 105/week @ 2024-08-17 47/week @ 2024-08-24 60/week @ 2024-08-31 65/week @ 2024-09-07 190/week @ 2024-09-14 291/week @ 2024-09-21 208/week @ 2024-09-28 192/week @ 2024-10-05 225/week @ 2024-10-12 227/week @ 2024-10-19 250/week @ 2024-10-26 77/week @ 2024-11-02

806 downloads per month
Used in 4 crates

MIT/Apache

17KB
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

Documentation

⚠️ 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!

Minimum Supported Rust Version

Rust 1.65 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above

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

~365KB