Error Code Portal
Node.jsNode.jsError code

ERR_CRYPTO_HASH_DIGEST_NO_UTF16

crypto hash digest no utf16

Code ERR_CRYPTO_HASH_DIGEST_NO_UTF16 · An issue reported by Node.js.

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.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.