Crate kuznyechik
source ·Expand description
Pure Rust implementation of the Kuznyechik (GOST R 34.12-2015) block cipher.
§⚠️ Security Warning: Hazmat!
This crate implements only the low-level block cipher function, and is intended for use for implementing higher-level constructions only. It is NOT intended for direct use in applications.
USE AT YOUR OWN RISK!
§Configuration Flags
You can modify crate using the following configuration flag:
kuznyechik_force_soft
: force software implementation.
It can be enabled using RUSTFLAGS
environmental variable
(e.g. RUSTFLAGS="--cfg kuznyechik_force_soft"
) or by modifying
.cargo/config
.
Re-exports§
pub use cipher;
Structs§
- Kuznyechik (GOST R 34.12-2015) block cipher
- Kuznyechik (GOST R 34.12-2015) block cipher (decrypt-only)
- Kuznyechik (GOST R 34.12-2015) block cipher (encrypt-only)
Type Aliases§
- 128-bit Kuznyechik block
- 256-bit Kuznyechik key