Skip to content

crypto: fix `input` validation in `crypto.hash`

The documentation was wrong as it was mentioning ArrayBuffer, and the error message was wrong as it wasn't mentioning string.

Fixes: https://github.com/nodejs/node/pull/51044/files#r1522362983

Merge request reports

Loading