I need to generate in javascript hashes as Java Guava does and I've found this library.
I'm not very familiar with the algorithm and after some hours of trying I'm unable to obtain the same results.
In Java, the result of processing the string 'Test1Test2' returns "f10ed0685783a0af29b948073be342ec", while in javascript, after converting the string to hexadecimal codes I obtain the result "8765435605985233523" which doesn't look similar at all.
I guess I'm understanding something wrong, can you give me a clue? Thanks.
I need to generate in javascript hashes as Java Guava does and I've found this library.
I'm not very familiar with the algorithm and after some hours of trying I'm unable to obtain the same results.
In Java, the result of processing the string 'Test1Test2' returns "f10ed0685783a0af29b948073be342ec", while in javascript, after converting the string to hexadecimal codes I obtain the result "8765435605985233523" which doesn't look similar at all.
I guess I'm understanding something wrong, can you give me a clue? Thanks.