IdentityShroud/IdentityShroud.Core/Contracts/IDekEncryptionService.cs
2026-08-18 07:42:51 +02:00

13 lines
No EOL
283 B
C#

using IdentityShroud.Core.Security;
namespace IdentityShroud.Core.Contracts;
public interface IDekEncryptionService
{
EncryptedDek Encrypt(ReadOnlySpan<byte> plain);
void Decrypt(EncryptedDek input, Span<byte> output);
int GetDecryptedSize(EncryptedDek input);
}