Table of Contents

Interface IEncryptionAlgorithm

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

Represents a secure encryption algorithm.

public interface IEncryptionAlgorithm

Methods

DecryptString(string, string)

string DecryptString(string cipherText, string secretKey)

Parameters

cipherText string
secretKey string

Returns

string

EncryptString(string, string)

string EncryptString(string plainText, string secretKey)

Parameters

plainText string
secretKey string

Returns

string