Open ctavan opened 4 years ago
And there are more: Right now we are struggling to make a CSPRNG available for React Native environments, see https://github.com/uuidjs/uuid/issues/375
uuid
APIs that are all sync ðŸ˜Interestingly, the users of these platforms have unknowingly been using the Math.random()
-based fallback for uuid
generation for years. It only became apparent when we removed that default fallback from the uuid
library.
Problems like https://github.com/uuidjs/uuid/issues/392 are another good example of why it would be really helpful to have a CSPRNG baked into the JavaScript language (as @broofa noticed in https://github.com/uuidjs/uuid/issues/392#issuecomment-593622182).