Skip to content
JS
Node.js error

ERR_CRYPTO_HASH_DIGEST_NO_UTF16

The UTF-16 encoding was used with hash.digest(). While the hash.digest() method does allow an encoding argument to be passed in, causing the method to return a string rather than a Buffer, the UTF-16 encoding (e.g. ucs or utf16le) is not supported.

Reference entryNode.jsFetched

Node.js documentation lists the code ERR_CRYPTO_HASH_DIGEST_NO_UTF16 without the printed message text.

Category
Legacy Node.js error codes
Severity
error
Versions
Added in v9.0.0; removed in v12.12.0
Runtime
node
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: Node.js documentation. Data fetched 2026-09-25T01:43:12.380Z.