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

Examples (VB.NET)

See Example1 Example2 Example3 Example4

See Also

VB6/C equivalent: PAD_HexBlock

[Contents] [Index]

[HOME]   [NEXT: Aes128.Unpad Method (Byte)...]

Copyright © 2001-10 D.I. Management Services Pty Ltd. All rights reserved.