From 21cf75f9e9ce7908150271ebd3bfbc41da1d1c30 Mon Sep 17 00:00:00 2001 From: thedoublejay Date: Fri, 6 Aug 2021 18:05:50 +0800 Subject: [PATCH] update difficulty --- app/api/wallet/provider/mnemonic_encrypted.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/wallet/provider/mnemonic_encrypted.ts b/app/api/wallet/provider/mnemonic_encrypted.ts index ebc670c153..868ff3f305 100644 --- a/app/api/wallet/provider/mnemonic_encrypted.ts +++ b/app/api/wallet/provider/mnemonic_encrypted.ts @@ -12,8 +12,8 @@ import { WalletPersistenceData, WalletType } from '../persistence' // BIP38 default, 16k, 8, 8 const DEFAULT_SCRYPT_N_R_P = [ - Math.pow(2, 12), - 4, // decide stress on ram, not to reduce, to remained strong POW + Math.pow(2, 9), + 8, // decide stress on ram, not to reduce, to remained strong POW 2 // iteration, directly stack up time (if only purely single thread) ]