Table of Contents

Class DesEncryptionAlgorithm

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

DES algorithm can be broken easily as it has known vulnerabilities. Please use AesEncryptionService.

public class DesEncryptionAlgorithm : IEncryptionAlgorithm
Inheritance
DesEncryptionAlgorithm
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