Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get a hash from a string #1

Open
arnaugm opened this issue Feb 13, 2015 · 0 comments
Open

Get a hash from a string #1

arnaugm opened this issue Feb 13, 2015 · 0 comments

Comments

@arnaugm
Copy link

arnaugm commented Feb 13, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant