Aes256Unpad(String) Method |
Removes the padding from a hex-encoded encryption block
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static string Unpad(
string dataHex
)
Public Shared Function Unpad (
dataHex As String
) As String
Parameters
- dataHex String
- hex-encoded padded data
Return Value
StringUnpadded data in hex-encoded string or unchanged data on error
RemarksPadding is expected according to the convention in PKCS#5/#7/CMS.
An error is indicated by returning the original data which will always
be longer than the expected unpadded result.
See Also