Click or drag to resize

Aes256Unpad(String) Method

Removes the padding from a hex-encoded encryption block

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public static string Unpad(
	string dataHex
)

Parameters

dataHex  String
hex-encoded padded data

Return Value

String
Unpadded data in hex-encoded string or unchanged data on error
Remarks
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 Also