Share via


SymmetricEncryptionFormatter.Encrypt Method

This member overrides Microsoft.Web.Services2.Security.Cryptography.EncryptionFormatter.Encrypt .

Usage

'Usage
Dim plainText() As Byte
Dim returnValue() As Byte
Dim symmetricEncryptionFormatter1 As SymmetricEncryptionFormatter
returnValue = symmetricEncryptionFormatter1.Encrypt(plainText)

Syntax

'Declaration
Public Overrides Function Encrypt( _
    ByVal plainText() As Byte _
) As Byte()
public override byte[] Encrypt(
    byte[] plainText
);
public: virtual array<Byte>^ Encrypt(
    array<Byte>^ plainText
);
public ubyte[] Encrypt(
    ubyte[] plainText
);
public override function Encrypt(
     plainText : Byte[]
) : Byte[];

See Also

Reference

SymmetricEncryptionFormatter Class
Microsoft.Web.Services2.Security.Cryptography Namespace

Other Resources

SymmetricEncryptionFormatter Members