9 lines
284 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);
}
}