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

Allow passing a BigInt64Array/BigUint64Array to getRandomValues #266

Merged
merged 3 commits into from
Jul 19, 2021

Conversation

twiss
Copy link
Member

@twiss twiss commented Jul 2, 2021

Fix #255 by adding BigInt64Array and BigUint64Array to the list of allowed types in crypto.getRandomValues(). In addition, don't refer to them as "integer type" but simply list all the allowed types, as per #255 (comment).

@twiss twiss requested a review from annevk July 2, 2021 16:44
spec/Overview.html Outdated Show resolved Hide resolved
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

spec/Overview.html Outdated Show resolved Hide resolved
lucacasonato added a commit to lucacasonato/deno that referenced this pull request Jul 19, 2021
lucacasonato added a commit to lucacasonato/deno that referenced this pull request Jul 19, 2021
Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
@annevk
Copy link
Member

annevk commented Jul 19, 2021

@sleevi can you rubberstamp?

@dontcallmedom who else can review here?

lucacasonato added a commit to denoland/deno that referenced this pull request Jul 19, 2021
@twiss twiss merged commit 28472b2 into master Jul 19, 2021
@twiss twiss deleted the random-bigints branch July 19, 2021 14:15
@twiss
Copy link
Member Author

twiss commented Jul 19, 2021

👍 Thanks for the reviews!

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

Successfully merging this pull request may close these issues.

getRandomValues() and BigInt
5 participants