Skip to content

Commit adeb819

Browse files
authored
Update Program.cs (#5406)
1 parent c05bcc1 commit adeb819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prototype/KeyGuardMaa/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static void Main()
8686
byte[] sig = rsa.SignData(
8787
System.Text.Encoding.UTF8.GetBytes("Hello KeyGuard"),
8888
HashAlgorithmName.SHA256,
89-
RSASignaturePadding.Pkcs1);
89+
RSASignaturePadding.PSS);
9090

9191
Console.WriteLine($"\nSignature length: {sig.Length} bytes");
9292
}

0 commit comments

Comments
 (0)