Mentalis.org Security Library documentation

DataProtectionCryptoServiceProvider.ProtectData Method

Encrypts data according to a specified protection type.

Overload List

Encrypts data according to a specified protection type.

public byte[] ProtectData(ProtectionType,byte[]);

Encrypts data according to a specified protection type.

public byte[] ProtectData(ProtectionType,byte[],byte[]);

Encrypts data according to a specified protection type.

public byte[] ProtectData(ProtectionType,byte[],int,int,byte[]);

See Also

DataProtectionCryptoServiceProvider Class | Org.Mentalis.Security.Cryptography Namespace