mirror of
https://github.com/kristoferssolo/cipher-workshop.git
synced 2025-12-31 13:52:29 +00:00
Add AesCbc struct with:
- CBC mode encryption with PKCS#7 padding
- CBC mode decryption with padding validation
- XOR chaining with IV for first block
- Expose encrypt_block/decrypt_block as pub(crate)
|
||
|---|---|---|
| .. | ||
| block | ||
| key | ||
| operations | ||
| aes.rs | ||
| cbc.rs | ||
| constants.rs | ||
| iv.rs | ||
| lib.rs | ||
| sbox.rs | ||