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
@@ -8,7 +8,7 @@ namespace EchoHub.Server.Services;
public class MessageEncryptionService : IMessageEncryptionService
{
private const string EncryptionPrefix = "$ENC$v1$";
private const string EncryptionPrefix = IMessageEncryptionService.CiphertextPrefix;
private const int NonceSizeBytes = 12;
private const int TagSizeBytes = 16;