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

Return value #6

Closed
wants to merge 2 commits into from
Closed

Return value #6

wants to merge 2 commits into from

Conversation

jessetane
Copy link
Contributor

Thanks for this module. Sometimes it's nice to be able to do a one-liner like:

var values = getRandomValues(new Uint8Array(32))

This behavior also appears to be in the spec:
https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#Crypto-method-getRandomValues

@kenany kenany self-assigned this Jan 8, 2016
@kenany kenany closed this in 83d102a Jan 8, 2016
@kenany
Copy link
Owner

kenany commented Jan 8, 2016

Very nice :) landed as 83d102a, thanks!

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

Successfully merging this pull request may close these issues.

2 participants