mirror of
https://github.com/kristoferssolo/cipher-workshop.git
synced 2025-12-31 13:52:29 +00:00
Add pkcs7_pad and pkcs7_unpad functions for block cipher modes:
- Pad data to block size multiples with N bytes of value N
- Validate and remove padding on decryption
- Add InvalidPadding variant to CipherError
|
||
|---|---|---|
| .. | ||
| traits | ||
| types | ||
| error.rs | ||
| lib.rs | ||
| macros.rs | ||
| padding.rs | ||
| parsing.rs | ||