CryptoSys API Library Manual
unpadHexString
Strips PKCS5 padding from a hex string [DEPRECATED].
Syntax
[VBA]
Public Function unpadHexString ( _
strInputHex As String, _
nBlockLen As Long _
) As String
Parameters
- strInputHex
- Hexadecimal-encoded padded data.
- nBlockLen
- Cipher block length in bytes (8 or 16).
Return Value
String: Unpadded data in hex string or unchanged data on error.
Remarks
An error is indicated by returning the original data
which will always be longer than the expected unpadded result.