Table of Contents

Interface IEncryptionService

Namespace
JJMasterData.Commons.Security.Cryptography.Abstractions
Assembly
JJMasterData.Commons.dll
public interface IEncryptionService

Methods

DecryptString(string, string?)

string DecryptString(string cipherText, string? secretKey = null)

Parameters

cipherText string
secretKey string

Returns

string

EncryptString(string, string?)

string EncryptString(string plainText, string? secretKey = null)

Parameters

plainText string
secretKey string

Returns

string