246760
用的是nodejs加密模块 var crypto = require('crypto'); 输入参数 var des_en=des_encrypt({ alg: 'des-ecb', autoPad: true, key: 'test1234', // 7465737431323334 plaintext: '12345678', //3132333435363738 iv: null })
var cipher = crypto.createCipheriv(alg,key,iv);
cipher.setAutoPadding(autoPad) //default true
var ciph = cipher.update(plaintext, 'utf8', 'hex');
ciph += cipher.final('hex');
console.log(alg, ciph)
加密的结果和第三方软件不一样,应该怎么设置啊 加密后的:f525a4549f160e0d8eb1fcf3245119e3 第三方软:F525A4549F160E0D