Closed nchavez324 closed 2 years ago
This still generates a v4 UUID, as before. I chose crypto.getRandomValues over crypto.randomUUID since it supports much older browsers including IE, and doesn't require a secure context (HTTPS or localhost).
I'll update the spec to include notes about using a cryptographically secure method in a separate PR.
This still generates a v4 UUID, as before. I chose crypto.getRandomValues over crypto.randomUUID since it supports much older browsers including IE, and doesn't require a secure context (HTTPS or localhost).
308
I'll update the spec to include notes about using a cryptographically secure method in a separate PR.