Monday, April 25, 2016

SHA512 Hash in C#

Computing SHA 512 is easy for dotnet developers. in your application add System.Security.Cryptography, and then use below method for encryption of string which can be plain text.

APISecretKey is privateKey for encryption, which can be empty as well.
EncryptionType parameter shows which type of return value is needed, either in hex format or base64 string.



















MSDN reference  is HERE 

No comments:

Post a Comment