Learn more about ASP.NET Core and criptography.
Verify RSA Signed Document
Verify HMAC Signed Document