- PrivateKeyPem initter Methode zu RSADecryptor hinzugefügt. - PublicKeyPem getter und initter Methoden zu RSAEncryptor hinzugefügt.
13 lines
290 B
C#
13 lines
290 B
C#
using System.Security.Cryptography;
|
|
|
|
namespace DigitalData.Core.Security
|
|
{
|
|
public class RSACryptographer
|
|
{
|
|
public required RSAEncryptionPadding Padding { get; init; }
|
|
|
|
protected readonly RSA _rsa = RSA.Create();
|
|
|
|
internal RSACryptographer() { }
|
|
}
|
|
} |