Compare commits

..

3 Commits

Author SHA1 Message Date
e83fe42268
fix(utils): update hash keys 2024-07-21 21:42:19 +08:00
f9e74b4fb8
chore: bump version to 1.0.5 2024-07-21 20:46:26 +08:00
84179ccc8d
ci: fix yarn lock for actions 2024-07-21 20:46:05 +08:00
2 changed files with 610 additions and 610 deletions

@ -142,12 +142,12 @@ const readJSON = async (dataPath, name) => {
} }
const hash = (data, type = 'sha256') => { const hash = (data, type = 'sha256') => {
const hmac = crypto.createHmac(type, 'hk4e') const hmac = crypto.createHmac(type, 'nap')
hmac.update(data) hmac.update(data)
return hmac.digest('hex') return hmac.digest('hex')
} }
const scryptKey = crypto.scryptSync(userPath, 'hk4e', 24) const scryptKey = crypto.scryptSync(userPath, 'nap', 24)
const cipherAes = (data) => { const cipherAes = (data) => {
const algorithm = 'aes-192-cbc' const algorithm = 'aes-192-cbc'
const iv = Buffer.alloc(16, 0) const iv = Buffer.alloc(16, 0)

1216
yarn.lock

File diff suppressed because it is too large Load Diff