diff --git a/electron/utils/keystore.ts b/electron/utils/keystore.ts index ec17d98..aef9d3e 100644 --- a/electron/utils/keystore.ts +++ b/electron/utils/keystore.ts @@ -4,7 +4,6 @@ export async function encrypt(seed: string, password: string) { const salt = crypto.randomBytes(16) const iv = crypto.randomBytes(12) - // derive 32-byte key từ password const key = await new Promise((resolve, reject) => { crypto.scrypt(password, salt, 32, { N: 16384, r: 8, p: 1 }, (err, derivedKey) => { if (err) reject(err) diff --git a/packages/neptune-native-0.1.0.tgz b/packages/neptune-native-0.1.0.tgz deleted file mode 100644 index 7089c75..0000000 Binary files a/packages/neptune-native-0.1.0.tgz and /dev/null differ diff --git a/packages/neptune-native/neptune-native.win32-x64-msvc.node b/packages/neptune-native/neptune-native.win32-x64-msvc.node index 2ec83cf..c6188c4 100644 Binary files a/packages/neptune-native/neptune-native.win32-x64-msvc.node and b/packages/neptune-native/neptune-native.win32-x64-msvc.node differ diff --git a/src/App.vue b/src/App.vue index a06885c..66a2a72 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,4 @@