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

Generates different v5 uuids than other libraries #1

Open
patroza opened this issue Jul 25, 2016 · 0 comments
Open

Generates different v5 uuids than other libraries #1

patroza opened this issue Jul 25, 2016 · 0 comments

Comments

@patroza
Copy link

patroza commented Jul 25, 2016

var namespace = "c8cc0001-526a-11e6-beb8-9e71128cae77"
var a = "281990";
var b = "211820";

Other libraries:

a: 54218fae-042d-5368-bbb4-275e36d78da5
b: c56ca8b0-8095-5191-b942-141f75fe001c

node-rfc4122:

a: f2ebda30-34ec-56c3-b832-d1c42f7c0d3d
b: 915fd54d-dc75-5096-ac64-0d3e71d4dc2e

same for your example string, other libs: 445b0ebc-d8e2-58b5-a054-8b65ae3e626, node-rfc4122: fbb6b6b4-f910-5516-b5d9-8967c4835c76

(same results within browser as Node)

Tested libs:

(My best guess would be that the conversion to Network byte order and Local byte order is missing?)

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