摘要: 一.通过console.log输出(我最喜欢的) 1.js脚本 1.js var arguments = process.argv.splice(2); //获得入参 var a= arguments[0]; 取第一个 console.log(a) //输出 2.python脚本 test_1.py 阅读全文
posted @ 2020-07-01 19:52 小小咸鱼YwY 阅读(2197) 评论(0) 推荐(0) 编辑
摘要: 一.node启动js-3DES-ECB加密 var arguments = process.argv.splice(2); // console.log('所传递的参数是:', arguments); var password = arguments[0]; //加密的password var t= 阅读全文
posted @ 2020-07-01 18:25 小小咸鱼YwY 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 一.node启动js公钥加密 //需要导入模块npm install node-forge var arguments = process.argv.splice(2); // console.log('所传递的参数是:', arguments); var e = arguments[1]; var 阅读全文
posted @ 2020-07-01 18:17 小小咸鱼YwY 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 1.解决方法 #pycrypto、pycrytodome和crypto是一个东西,crypto在python上面的名字是pycrypto, 1.pip3 uninstall pycryptodome 2.pip3 install pycryptodome 3.pip3 install pycrypt 阅读全文
posted @ 2020-07-01 17:13 小小咸鱼YwY 阅读(2474) 评论(0) 推荐(0) 编辑