Compare commits

..

1 Commits

Author SHA1 Message Date
00e9dbaff3
chore: bump version to 1.0.5 2024-07-21 19:48:40 +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 hmac = crypto.createHmac(type, 'nap')
const hmac = crypto.createHmac(type, 'hk4e')
hmac.update(data)
return hmac.digest('hex')
}
const scryptKey = crypto.scryptSync(userPath, 'nap', 24)
const scryptKey = crypto.scryptSync(userPath, 'hk4e', 24)
const cipherAes = (data) => {
const algorithm = 'aes-192-cbc'
const iv = Buffer.alloc(16, 0)

1214
yarn.lock

File diff suppressed because it is too large Load Diff