10 lines
334 B
C#
10 lines
334 B
C#
namespace Marco.Pms.Services.Service.ServiceInterfaces
|
|
{
|
|
public interface IAesEncryption
|
|
{
|
|
(byte[] ciphertext, byte[] nonce, byte[] tag) Encrypt(string plaintext, byte[] key);
|
|
string Decrypt(byte[] ciphertext, byte[] nonce, byte[] tag, byte[] key);
|
|
string EncryptResponse(string plainText);
|
|
}
|
|
}
|