ERR_CRYPTO_INVALID_KEYLEN node type_error official true

Invalid key length

ID: node/err_crypto_invalid_keylen

Also available as: JSON · Markdown
0%Fix Rate
95%Confidence
0Evidence

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
18 active
20 active
22 active

Root Cause

The key length is not valid for the specified cipher algorithm.

generic

Official Documentation

https://nodejs.org/api/errors.html