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: remove default encoding from Hash/Hmac #49167

Merged

Commits on Aug 14, 2023

  1. crypto: remove default encoding from Hash/Hmac

    getDefaultEncoding() always returns 'buffer' in Node.js 20. It requires
    some careful justification but the default encoding can be eliminated
    from hash.js entirely. The reasoning is almost identical with that in
    nodejs#49145 so I won't repeat it here.
    
    Refs: nodejs#47182
    tniessen committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    c8d479a View commit details
    Browse the repository at this point in the history