9 lines
250 B
C#

using DigitalData.Core.Abstractions.Security;
namespace DigitalData.Core.Security.RSAKey
{
public class RSADecryptor : RSAPrivateKey, IAsymmetricDecryptor
{
public byte[] Decrypt(byte[] data) => RSA.Decrypt(data, Padding);
}
}