diff options
author | Drake Burroughs <wildfyre@hotmail.com> | 2015-10-23 22:49:36 +0800 |
---|---|---|
committer | Drake Burroughs <wildfyre@hotmail.com> | 2015-10-29 01:46:39 +0800 |
commit | 05ea8926c32a97d9f193a69076037b7a704d6d92 (patch) | |
tree | 704b8897b7a0751fb6e7043bc8cc2baec923a496 /crypto/crypto.go | |
parent | 6b5a42a15ca54749d41c0b29b4a26ebb3a1a53f0 (diff) | |
download | dexon-05ea8926c32a97d9f193a69076037b7a704d6d92.tar.gz dexon-05ea8926c32a97d9f193a69076037b7a704d6d92.tar.zst dexon-05ea8926c32a97d9f193a69076037b7a704d6d92.zip |
cmd/utils, crypto: add --lightkdf flag for lighter KDF
Diffstat (limited to 'crypto/crypto.go')
-rw-r--r-- | crypto/crypto.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto.go b/crypto/crypto.go index 035d2ab80..8685d62d3 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -215,7 +215,7 @@ func Decrypt(prv *ecdsa.PrivateKey, ct []byte) ([]byte, error) { // Used only by block tests. func ImportBlockTestKey(privKeyBytes []byte) error { - ks := NewKeyStorePassphrase(common.DefaultDataDir() + "/keystore") + ks := NewKeyStorePassphrase(common.DefaultDataDir()+"/keystore", LightScryptN, LightScryptP) ecKey := ToECDSA(privKeyBytes) key := &Key{ Id: uuid.NewRandom(), |