Padding.unpad
ubyte[] unpad(const(ubyte)[] input, size_t blockSize)Removes padding from the input.
Parameters
input | The padded data (must be a multiple of blockSize). |
blockSize | The block size in bytes. |
Returns
A slice of the input with padding removed.
Throws
CryptoException if padding is invalid.