0

和有什么区别

   let cipher = crypto.createCipheriv('aes-128-cbc', key, iv);
   const res = Buffer.concat([encrypter.update(data), encrypter.final()]);

let cipher = crypto.createCipheriv('aes-128-cbc', key, iv);
const res = cipher.update(data)+ cipher .final();
4

0 回答 0