IdentityShroud/IdentityShroud.Core/Contracts/IEncryptionService.cs

7 lines
No EOL
164 B
C#

namespace IdentityShroud.Core.Contracts;
public interface IEncryptionService
{
byte[] Encrypt(byte[] plain);
byte[] Decrypt(ReadOnlyMemory<byte> cipher);
}