node:internal/crypto/hash:69
this[kHandle] = new _Hash(algorithm, xofLen);
终端输入 :
% export NODE_OPTIONS=–openssl-legacy-provider

文章探讨了在Node.js中,如何通过设置`NODE_OPTIONS`环境变量为`--openssl-legacy-provider`来使用旧版本的OpenSSL提供程序处理加密,特别关注了`node:internal/crypto/hash:69`中的`kHandle`和`algorithm`参数与xofLen的关系。
node:internal/crypto/hash:69
this[kHandle] = new _Hash(algorithm, xofLen);
终端输入 :
% export NODE_OPTIONS=–openssl-legacy-provider

2147
1055