IKey.CreateEncryptorInstance Method

Definition

Creates an IAuthenticatedEncryptor instance that can be used to encrypt data to and decrypt data from this key.

C#
public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptorInstance ();

Returns

An IAuthenticatedEncryptor.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1