CryptoSys API Library Manual
 
Aes128.Pad Method (String)
 Pads hex-encoded string to correct length for ECB and CBC encryption 
Syntax
[C#]
public static string Pad(
	string dataHex
)
[VB.NET]
Public Shared Function Pad ( _
	dataHex As String _
) As String
Parameters
  - dataHex
 
  - hex-encoded data to be padded
 
Return Value
padded data in hex-encoded string
Remarks
Uses PKCS#5/#7/CMS method of padding
[Contents] [Index]