2026-02-27 17:57:42 +00:00
|
|
|
using IdentityShroud.Core.Security;
|
|
|
|
|
|
|
|
|
|
namespace IdentityShroud.Core.Contracts;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public interface IDekEncryptionService
|
|
|
|
|
{
|
|
|
|
|
EncryptedDek Encrypt(ReadOnlySpan<byte> plain);
|
2026-08-18 07:40:24 +02:00
|
|
|
|
|
|
|
|
void Decrypt(EncryptedDek input, Span<byte> output);
|
|
|
|
|
int GetDecryptedSize(EncryptedDek input);
|
2026-02-27 17:57:42 +00:00
|
|
|
}
|