Table of Contents

Class AesEncryptionAlgorithm

Namespace
JJMasterData.Commons.Security.Cryptography
Assembly
JJMasterData.Commons.dll

AES is more secure than the DES cipher and is the de facto world standard. DES can be broken easily as it has known vulnerabilities.

public class AesEncryptionAlgorithm : IEncryptionAlgorithm
Inheritance
AesEncryptionAlgorithm
Implements
Inherited Members

Methods

DecryptString(string, string)

public string DecryptString(string cipherText, string secretKey)

Parameters

cipherText string
secretKey string

Returns

string

EncryptString(string, string)

public string EncryptString(string plainText, string secretKey)

Parameters

plainText string
secretKey string

Returns

string