This week's book giveaway is in the Functional programming forum.
We're giving away four copies of Functional Design and Architecture and have Alexander Granin on-line!
See this thread for details.
Win a copy of Functional Design and Architecture this week in the Functional programming forum!

js chew

Greenhorn
+ Follow
since Aug 07, 2021
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by js chew

Hi Stephan, thank you for your reply and advised.

i have changed my code from to yet solve the problem.

The reason why im trying to do this is due to in asp.net im using the hash algorithm to store the password and based on my understanding it cannot be decrypted, and my plan was download the same credentials from sqlserver to sqlite so that the user can use back the same password to login from their mobile. Therefore in order for them to use back the same password as stored in sql server, i need the same hash password.
2 months ago
I need to construct a hash in Android, that given the same inputs in ASP.NET will generate an equivalent hash. May i know which part am i wrong in my java code?


below is my c# code, the hash result value = "0KRg7JtDNE/lkobY3OZqpzUAMgA2ADEA"
         

below is my java code, the result it " hgS6gq6s+8C8/BqVz2b9Ofanq0g=\n"

     

2 months ago