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
3 changed files with 611 additions and 611 deletions

@ -1,6 +1,6 @@
{
"name": "zzz-signal-search-export",
"version": "1.0.4",
"version": "1.0.5",
"main": "./dist/electron/main/main.js",
"author": "earthjasonlin <https://git.loliquq.cn/earthjasonlin>",
"homepage": "https://github.com/earthjasonlin/zzz-signal-search-export",

@ -142,12 +142,12 @@ const readJSON = async (dataPath, name) => {
}
const hash = (data, type = 'sha256') => {
const hmac = crypto.createHmac(type, 'hk4e')
const hmac = crypto.createHmac(type, 'nap')
hmac.update(data)
return hmac.digest('hex')
}
const scryptKey = crypto.scryptSync(userPath, 'hk4e', 24)
const scryptKey = crypto.scryptSync(userPath, 'nap', 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