Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Hashes of java implementation don't match output of hashids.js #4

Open

Description

@thmarti

I'd say it renders this library pretty much useless!

Java

Hashids hashids = new Hashids("this is my salt");
String hash = hashids.encrypt(12345);
=> hash: ryBo

JavaScript

var hashids = new Hashids("this is my salt"),
hash = hashids.encrypt(12345),
=> hash: NkK9

Activity

  1. peet commented on Aug 14, 2014

    @peet
    Owner

    Yeah, unfortunately an incompatible change was made to the JavaScript version after I ported it to Java. Re-porting is on my todo list, but it might not be for a little while yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions