Partager via


SymmetricEncryptionFormatter.Encrypt Method

This member overrides EncryptionFormatter.Encrypt .

Usage

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

Syntax

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

See Also

Reference

SymmetricEncryptionFormatter Class
SymmetricEncryptionFormatter Members
Microsoft.Web.Services3.Security.Cryptography Namespace