CryptoSys API Library Manual

Blowfish.Pad Method (Byte[])

Pads byte array to correct length for ECB and CBC encryption

Syntax

[C#]
public static byte[] Pad(
	byte[] data
)
[VB.NET]
Public Shared Function Pad ( _
	data As Byte() _
) As Byte()

Parameters

data
data to be padded

Return Value

padded data in byte array

Remarks

Uses PKCS#5/#7/CMS method of padding

[Contents] [Index]

[HOME]   [NEXT: Blowfish.Pad Method (String)...]

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