feat(RSACryptographer): RSAEncryptionPadding nicht erforderlich gemacht und OaepSHA256 als Standard zugewiesen
This commit is contained in:
parent
d1fea581d7
commit
4e615d7e39
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user