Expand description
SEED single-block encryption with a 128-bit key and 128-bit blocks.
SeedEngine uses the same working key for encryption and decryption,
traversing its sixteen Feistel rounds in opposite orders.
Variable time: key setup and block processing index SS0-SS3 S-box tables
with secret data. Use only where cache-timing leakage is outside the
threat model; this crate provides no constant-time alternative.
The stored working key is wiped on drop. This does not wipe caller buffers or guarantee erasure of every register or stack copy. This allocator-free crate provides no mode, padding or authentication.
Structs§
- Seed
Engine - SEED with a 16-byte key and a 16-byte block.
Constants§
- ALGO_
NAME - Algorithm name written by the engine’s display implementation.
- BLOCK_
BYTES - SEED block length in bytes (128 bits).
- KEY_
BYTES - SEED key length in bytes (128 bits).