云函数里获取解密信息时报错
在云函数里如何获取解密信息时报错了,用的是官方给node.js代码:
Error: Invalid key length
at new Decipheriv (crypto.js:267:16) at Object.createDecipheriv (crypto.js:627:10) at EventHandler.exports.main [as realHandler] ( /var/user/index .js:21:27) at EventHandler.handle ( /var/runtime/node8/bootstrap .js:236:28) at invoke ( /var/runtime/node8/bootstrap .js:111:22) at Timeout.setTimeout [as _onTimeout] ( /var/runtime/node8/bootstrap .js:61:9) at ontimeout (timers.js:475:11) at tryOnTimeout (timers.js:310:5) at Timer.listOnTimeout (timers.js:270:5) |