Skip to content

Get a hash from a string #1

@arnaugm

Description

@arnaugm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions