How to generate Hash in asp.net C#?
Example: SHA512(requestId + "#" + status + "#"+ responseCode + "#" + aadhaarId + "#" + availableBalance + "#" salt)
How to generate Hash in asp.net C#?
Example: SHA512(requestId + "#" + status + "#"+ responseCode + "#" + aadhaarId + "#" + availableBalance + "#" salt)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tuhin PaulPosted Apr 22, 2023, 2:09 AM
You can generate the hash without initializing the variables first.see the code:
The values for `requestId`, `status`, `responseCode`, `aadhaarId`, `availableBalance`, and `salt` are set directly in the code. You can replace these values with the appropriate variables or values from your own code.
Vishal YelvePosted Apr 21, 2023, 9:44 AM
Hi Jagapathibabu,
check this.
Jagapathibabu BanothPosted Apr 21, 2023, 7:17 AM
Without Initialize variables How can I generate The Hash Sir....
Vishal YelvePosted Apr 20, 2023, 1:22 PM
Hi Jagapathibabu,
Do refer below links
https://www.techiedelight.com/generate-sha-512-hash-for-input-data-csharp/
https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.sha512?view=net-7.0
https://riptutorial.com/csharp/example/9345/sha512
Rajkiran SwainPosted Apr 20, 2023, 7:22 AM