加密文档:http :
//nodejs.org/api/crypto.html
const crypto = require('crypto')const text = 'I love cupcakes'const key = 'abcdeg'crypto.createHmac('sha1', key) .update(text) .digest('hex')
加密文档:http :
//nodejs.org/api/crypto.html
const crypto = require('crypto')const text = 'I love cupcakes'const key = 'abcdeg'crypto.createHmac('sha1', key) .update(text) .digest('hex')