Day17-Node后端身份验证
一 密码加密
1 MD5加密
- 创建MD5.js
//node提供了一个内置模块crypto用于密码加密
const crypto = require("crypto")
module.exports.getMd5 = function(password){
const md5
微信扫一扫
//node提供了一个内置模块crypto用于密码加密
const crypto = require("crypto")
module.exports.getMd5 = function(password){
const md5
相关推荐