#block-cipher #gost #crypto

no-std dev magma

Magma (GOST R 34.12-2015) block cipher

13 releases (breaking)

0.10.0-pre.0 Mar 8, 2024
0.9.0 Aug 6, 2023
0.8.1 Feb 17, 2022
0.7.0 Apr 29, 2021
0.0.0 Dec 15, 2016

#2472 in Cryptography

Download history 49/week @ 2023-12-23 57/week @ 2023-12-30 94/week @ 2024-01-06 131/week @ 2024-01-13 123/week @ 2024-01-20 114/week @ 2024-01-27 84/week @ 2024-02-03 62/week @ 2024-02-10 75/week @ 2024-02-17 138/week @ 2024-02-24 145/week @ 2024-03-02 156/week @ 2024-03-09 75/week @ 2024-03-16 93/week @ 2024-03-23 101/week @ 2024-03-30 76/week @ 2024-04-06

357 downloads per month
Used in 4 crates

MIT/Apache

16KB
247 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

~355KB