13 lines
307 B
C#

namespace DigitalData.Core.Abstractions.Security
{
public interface IRSADecryptor : IRSACryptographer
{
public string PrivateKeyPem { init; }
public IRSAEncryptor Encryptor { get; }
public byte[] Decrypt(byte[] data);
public string Decrypt(string data);
}
}