公告板
版本库
filestore
活动
搜索
登录
main
/
power_system_for_sx
山西电力前端项目
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
A 初次提交
he wei
2025-05-19
397c6fb125d5fe877cb175dcf364bca3f8648545
[power_system_for_sx.git]
/
src
/
utils
/
formatPassword.js
1
2
3
4
5
6
7
8
9
import { md5 } from 'js-md5';
import RSA from '@/utils/RSA.js';
function formatPassword(pwd) {
const password = pwd + '&&&&&&&&&&' + md5(pwd);
return RSA.encrypt(password);
}
export default formatPassword;