C# Class PerplexMail.SecurityDrivenDotNet.EtM

Mostra file Open project: PerplexInternetmarketing/PerplexMail-for-Umbraco

Public Methods

Method Description
Decrypt ( byte masterKey, byte ciphertext, byte salt = null ) : byte[]
Encrypt ( byte masterKey, byte plaintext, byte salt = null ) : byte[]

Method Details

Decrypt() public static method

public static Decrypt ( byte masterKey, byte ciphertext, byte salt = null ) : byte[]
masterKey byte
ciphertext byte
salt byte
return byte[]

Encrypt() public static method

public static Encrypt ( byte masterKey, byte plaintext, byte salt = null ) : byte[]
masterKey byte
plaintext byte
salt byte
return byte[]