System.Security.Cryptography 0xc100000d: #111156
Labels
area-System.Security
needs-author-action
An issue or pull request that requires more info or actions from the author.
untriaged
New issue has not been triaged by the area owner
This issue has been moved from a ticket on Developer Community.
I installed. net8.0 SDK on the WinServer 2012 system server and ran this code. WPF can execute normally, but there are errors in the console program and webAPI,System.Security.Cryptography unknown error 0xc100000d:
using (RSA rsa = RSA.Create())
{
rsa.FromXmlString(privateKey);
encryptedBytes = Convert.FromBase64String(str);
decryptedBytes = rsa.Decrypt(encryptedBytes, RSAEncryptionPadding.Pkcs1);
result.Data = Encoding.UTF8.GetString(decryptedBytes);
}
I know this is just a simple encrypted string copying format issue, but the error message from debugging forced me to report this problem as it did not provide proper guidance
Original Comments
Feedback Bot on 28/11/2024, 06:32 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
The text was updated successfully, but these errors were encountered: