feat(RSACryptographer): RSAEncryptionPadding nicht erforderlich gemacht und OaepSHA256 als Standard zugewiesen
This commit is contained in:
@@ -7,7 +7,7 @@ namespace DigitalData.Core.Security
|
||||
{
|
||||
public required virtual string Pem { get; init; }
|
||||
|
||||
public required RSAEncryptionPadding Padding { get; init; }
|
||||
public RSAEncryptionPadding Padding { get; init; } = RSAEncryptionPadding.OaepSHA256;
|
||||
|
||||
protected readonly RSA _rsa = RSA.Create();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user