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

Using Math.getRandomValues() ? #227

Open
plehegar opened this issue Oct 16, 2019 · 3 comments
Open

Using Math.getRandomValues() ? #227

plehegar opened this issue Oct 16, 2019 · 3 comments

Comments

@plehegar
Copy link
Member

This issue is meant to track the conversation at:
tc39/proposal-uuid#33

If getRandomValues is upstreamed in ECMA-262, we should update the Web Crypto API to reference their definition (assuming it's compatible).

@rbuckton
Copy link

We're also investigating a separate proposal for bringing part of the WebCrypto API into ECMA-262 at https://github.com/tc39/proposal-csprng, which would possibly replace the Math.getRandomValues() part of the UUID proposal. In particular, there are several open issues I'd like to get feedback on from the WebCrypto WG:

I'm also interested in other general feedback in the approach outlined in tc39/proposal-csprng#2, which amends the CSPRNG proposal to adopt the global crypto namespace in a way to be (hopefully) compatible with the WebCrypto API.

@plehegar
Copy link
Member Author

Note that the WG closed back then. However, there are ongoing discussion to do something. See also w3ctag/design-reviews#466

@sideshowbarker
Copy link
Contributor

sideshowbarker commented Jan 29, 2021

This would essentially be an editorial change, right? I mean, no implementation impact?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants