Security helpers for hashing, encryption, and related operations.
$ dotnet add package Genocs.SecurityThis package contains the functionalities to be used to handle standard security concerns. The libraries can be used on .NET6, .NET7, .NET8.
Following an example of how the key should be.
WARNING: DO NOT USE IT IN PROD!!!
<RSAKeyValue>
<Modulus>svbEQ96xMdgUpnkDiSaULDbM/HVFLHLc46BdyqwEzIhK+Ml2dqWq/RZIh8kLWmYwpB5gqfOya8Wid3GKIpq7Ke8ciV53qW/1ImOZZPxOtwX1mNzvIEagq80QJoMLphtU1ytPWRXvOjBdGUeTzmdV2kpHNax41n4Uv0QpOPIhzME=</Modulus>
<Exponent>AQAB</Exponent>
<P></P>
<Q></Q>
<DP></DP>
<DQ></DQ>
<InverseQ></InverseQ>
<D></D>
</RSAKeyValue>"
Please check the GitHub repository getting more info.