vite vue3 uses aes-cross to report: TypeError: crypto.createCipheriv is not a function Version: "vue": "^3.2.23", "vite": "^2.6.4", "aes-cross": "^1.0.9",
CodePudding user response:
The function crypto.createCipheriv
is a node.js only function meaning it is not available in the browser like in a Vue app. You should