9 lines
218 B
C#
9 lines
218 B
C#
|
|
using IdentityShroud.Core.Security;
|
||
|
|
|
||
|
|
namespace IdentityShroud.Core.Contracts;
|
||
|
|
|
||
|
|
public interface IDataEncryptionService
|
||
|
|
{
|
||
|
|
EncryptedValue Encrypt(ReadOnlySpan<byte> plain);
|
||
|
|
byte[] Decrypt(EncryptedValue input);
|
||
|
|
}
|