By encrypting with the SymmetricAlgorithm given during the SymmetricEncryption instantiation, and then encoding the encrypted data as a base 64 string, this inversion control method handles the request to encrypt the specified plain text.

Namespace: Keystone.Enigma
Assembly: Keystone.Enigma (in Keystone.Enigma.dll)

protected override string OnEncrypt( 
string plainText 
)
This language is not supported or no code example is available.

Parameters

plainText

Type: string

The plain text.

Return Value

The encrypted text.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono