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

crypto: add randomFill and randomFillSync #10209

Closed
wants to merge 1 commit into from

Commits on Apr 17, 2017

  1. crypto: add randomFill and randomFillSync

    crypto.randomFill and crypto.randomFillSync are similar to
    crypto.randomBytes, but allow passing in a buffer as the first
    argument. This allows us to reuse buffers to prevent having to
    create a new one on every call.
    evanlucas committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    f235b57 View commit details
    Browse the repository at this point in the history