ICryptographyService.EncryptSymmetric Method

Encrypts data using a specified symmetric cryptography provider.

Namespace: Microsoft.Practices.CompositeUI.Services
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Function EncryptSymmetric ( _
    plainText As Byte() _
) As Byte()
'Usage
Dim instance As ICryptographyService
Dim plainText As Byte()
Dim returnValue As Byte()

returnValue = instance.EncryptSymmetric(plainText)
byte[] EncryptSymmetric (
    byte[] plainText
)
array<unsigned char>^ EncryptSymmetric (
    array<unsigned char>^ plainText
)
byte[] EncryptSymmetric (
    byte[] plainText
)
function EncryptSymmetric (
    plainText : byte[]
) : byte[]

Parameters

  • plainText
    The input data to encrypt.

Return Value

The resulting cipher text.

See Also

Reference

ICryptographyService Interface
ICryptographyService Members
Microsoft.Practices.CompositeUI.Services Namespace