We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install --save-dev utility
const utils = require('utility'); function md5Pwd(pwd){ const salt = 'diadem_adinno_1234567890~!@#$%^&*()'; return utils.md5(utils.md5(pwd+salt)); }
UserModel.create({user, pwd: md5Pwd(pwd), phone, type}, ...)
The text was updated successfully, but these errors were encountered:
253867843
No branches or pull requests
实现md5加密
插件 utility
编写方法
使用
The text was updated successfully, but these errors were encountered: