在终端中出现此警告,跟踪源或其实际原因/原因时出现问题。
(node:37770) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:37770) Warning: Use Cipheriv for counter mode of aes-256-ctr
不幸的是,没有太多信息可以提供。我知道Node有点问题,但是不知道如何解决。https://nodejs.org/api/crypto.html
节点-v stable 8.9.0 (bottled), HEAD
package.json
"dependencies": {
"axios": "^0.17.0",
"babel-plugin-wrap-in-js": "^1.1.1",
"babel-runtime": "^6.26.0",
"body-parser": "^1.18.2",
"compression": "^1.7.1",
"cookie": "^0.3.1",
"dotenv": "^4.0.0",
"express": "^4.16.2",
"express-session": "^1.15.6",
"firebase": "^4.6.0",
"firebase-admin": "^5.4.3",
"isomorphic-unfetch": "^2.0.0",
"js-cookie": "^2.2.0",
"lusca": "^1.5.2",
"next": "^4.1.4",
"next-redux-wrapper": "^1.3.4",
"node-sass": "^4.5.3",
"now-logs": "0.0.7",
"nprogress": "^0.2.0",
"orm": "^4.0.1",
"prop-types": "^15.6.0",
"raw-loader": "^1.0.0-beta.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-redux": "^5.0.6",
"react-stripe-checkout": "^2.6.3",
"react-stripe-elements": "^1.2.0",
"react-transition-group": "^2.2.1",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0",
"sass-loader": "^6.0.6",
"session-file-store": "^1.1.2",
"styled-jsx": "^2.1.2",
"timeme.js": "^2.0.3",
"uuid": "^3.1.0",
"webpack": "^3.8.1"
}
我遇到了类似的问题,在遍历此 节点问题 并查看本节的底部后, 不建议使用没有随机输入的aes-256-ctr来摇动它。将其更新为另一种算法后,错误消失了。
我不确定如果您未在代码中使用加密,那么哪个部门可能会抛出此错误。它可能会搜索
createCipher
或aes-256-ctr
。