Table of Contents

Interface IMessageEncryptionService

Namespace
EchoHub.Core.Contracts
Assembly
EchoHub.Core.dll
public interface IMessageEncryptionService

Properties

EncryptDatabaseEnabled

Whether database content should be encrypted at rest (server setting).

bool EncryptDatabaseEnabled { get; }

Property Value

bool

Methods

Decrypt(string)

string Decrypt(string content)

Parameters

content string

Returns

string

DecryptNullable(string?)

string? DecryptNullable(string? value)

Parameters

value string

Returns

string

Encrypt(string)

string Encrypt(string plaintext)

Parameters

plaintext string

Returns

string

EncryptNullable(string?)

string? EncryptNullable(string? value)

Parameters

value string

Returns

string