feat: enhance message decryption for IRC clients and improve attachment handling

This commit is contained in:
HueByte
2026-07-16 16:35:34 +02:00
parent aae788028e
commit b62729dc95
6 changed files with 63 additions and 4 deletions
@@ -2,6 +2,12 @@ namespace EchoHub.Core.Contracts;
public interface IMessageEncryptionService
{
/// <summary>
/// Prefix marking transport/at-rest encrypted content. <see cref="Decrypt"/> is a
/// pass-through for values without it.
/// </summary>
const string CiphertextPrefix = "$ENC$v1$";
/// <summary>
/// Whether database content should be encrypted at rest (server setting).
/// </summary>