You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
673 B
20 lines
673 B
3 months ago
|
// | ------------------------------------------------------------
|
||
|
// | @版本: version 0.1
|
||
|
// | @创建人: 【Nie-x7129】
|
||
|
// | @E-mail: x71291@outlook.com
|
||
|
// | @所在项目: pac-auth
|
||
|
// | @文件描述: getDafaultPass.js -
|
||
|
// | @创建时间: 2024-07-01 10:21
|
||
|
// | @更新时间: 2024-07-01 10:21
|
||
|
// | @修改记录:
|
||
|
// | -*-*-*- (时间--修改人--修改说明) -*-*-*-
|
||
|
// | =
|
||
|
// | ------------------------------------------------------------
|
||
|
|
||
|
import config from '../src/config/configuration';
|
||
|
import cryptoPassword from '../src/utils/cryptoPassword';
|
||
|
|
||
|
const pass = cryptoPassword(config().system.defaultPassword, config().system.passwordSalt);
|
||
|
|
||
|
console.log(pass);
|