uuid icon indicating copy to clipboard operation
uuid copied to clipboard

Built-in hasher for JavaScript for UUID v3 and v5

Open benasher44 opened this issue 5 years ago • 2 comments

There are platform-specific hashers that enable uuid3Of and uuid5Of functions, but there isn't one for JS. I'm not sure if there is a recommended JS dependency to use for these, or if there is some JS API I don't know about that could provide these.

benasher44 avatar Jul 12 '20 21:07 benasher44

Non-JS expert but it seems that node package uuid has no dependencies. Perhaps its implementation of v3 and v5 via common v35 function might give an inspiration?

slavaatsig avatar Sep 01 '20 12:09 slavaatsig

This should be possible with web crypto APIs now

benasher44 avatar Jul 22 '23 15:07 benasher44