using DigitalData.Core.Abstractions.Security; using System.Security.Cryptography; namespace DigitalData.Core.Security { public class RSACryptographer : IRSACryptographer { public required virtual string Pem { get; init; } public RSAEncryptionPadding Padding { get; init; } = RSAEncryptionPadding.OaepSHA256; protected readonly RSA _rsa = RSA.Create(); internal RSACryptographer() { } } }