const crypto=require("crypto")
const hash=crypto.createHash("md5")
hash.update("hello geyao")
console.log(hash.digest("hex"))
运行结果
前端学习笔记202310学习笔记第一百壹拾玖天-模块包-内置模块http之crypto模块3
阅读 17
2023-12-17
const crypto=require("crypto")
const hash=crypto.createHash("md5")
hash.update("hello geyao")
console.log(hash.digest("hex"))
运行结果
相关推荐
精彩评论(0)