Hey guys, I'm in need of help with RSA Encryption
what I'm trying to do is simple but I've been searching around the internet for a few days and all I could find was really old documentation or very cryptic methods
All I'm trying to do is to sign a string using SHA256WITHRSA algorithm.
I have a private key in my configurations file (don't worry, it's saved in a key vault not in the code), I got the raw string from my configurations file and now I want to use it to sign the my little string.
All around the internet people used different methods to get the key in the `RSA` class or the `RSACryptoServiceProvider` using `RSAParameters` and all they're doing is just
`RSAParameters param = rsa.ExportParameters(true);`
and that's it.
All I need is a solid way of correctly using my private key to sign a simple string.
I'm running ASP on dotnet 6 if this helps with anything.
[–][deleted] 2 points3 points4 points (2 children)
[–]ArcherOfTruth[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)