Cypher for .net

PGPBase..::..Encrypt Method (array<Byte>[]()[][], RSAEncryptionPadding)

When overridden in a derived class, encrypts the input data using the specified padding mode.

Namespace:  Walter.Cypher.PGP
Assembly:  Walter.Cypher (in Walter.Cypher.dll)

Syntax


public byte[] Encrypt(
	byte[] data,
	RSAEncryptionPadding padding
)

Parameters

data
Type: array<Byte>[]()[][]
The data to encrypt.
padding
Type: RSAEncryptionPadding
The padding mode.

Return Value

The encrypted data.