Generate Unique Id in the Browser Without a Library

added by JavaScript Kicks
1/16/2020 11:46:07 AM

285 Views

I find myself reaching to previous projects for this function every time I need a random, unique value to use on the client-side. You might not have heard of the Web Crypto API which provides a set of low-level primitives for dealing with cryptography.


0 comments