Sdílet prostřednictvím


IKey.CreateEncryptor Metoda

Definice

Vytvoří IAuthenticatedEncryptor instanci, kterou lze použít k šifrování dat a dešifrování dat z tohoto klíče.

public:
 Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::IAuthenticatedEncryptor ^ CreateEncryptor();
public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor CreateEncryptor ();
public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor? CreateEncryptor ();
abstract member CreateEncryptor : unit -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.IAuthenticatedEncryptor
Public Function CreateEncryptor () As IAuthenticatedEncryptor

Návraty

An .IAuthenticatedEncryptor

Platí pro