Removes the padding from a hex-encoded encryption block
public static string Unpad( string dataHex )
Public Shared Function Unpad ( _ dataHex As String _ ) As String
Unpadded data in hex-encoded string or unchanged data on error
Padding 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 Example1 Example2 Example3 Example4
VB6/C equivalent: PAD_UnpadHex