aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/key_store_passphrase.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-02-17 20:05:58 +0800
committerFelix Lange <fjl@twurst.com>2015-02-17 20:05:58 +0800
commit119bea22aaf061d5b3e6a9abee9b1b95655b9fbe (patch)
treeb4420225106756fac17bdbc8e148b399afbd6418 /crypto/key_store_passphrase.go
parentbb346a3ae1b6c250fdcb28b97280d3512a7fe219 (diff)
downloaddexon-119bea22aaf061d5b3e6a9abee9b1b95655b9fbe.tar
dexon-119bea22aaf061d5b3e6a9abee9b1b95655b9fbe.tar.gz
dexon-119bea22aaf061d5b3e6a9abee9b1b95655b9fbe.tar.bz2
dexon-119bea22aaf061d5b3e6a9abee9b1b95655b9fbe.tar.lz
dexon-119bea22aaf061d5b3e6a9abee9b1b95655b9fbe.tar.xz
dexon-119bea22aaf061d5b3e6a9abee9b1b95655b9fbe.tar.zst
dexon-119bea22aaf061d5b3e6a9abee9b1b95655b9fbe.zip
crypto: switch to golang.org/x/crypto
code.google.com/p/go.crypto is deprecated and will cause problems in future versions of Go.
Diffstat (limited to 'crypto/key_store_passphrase.go')
-rw-r--r--crypto/key_store_passphrase.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/key_store_passphrase.go b/crypto/key_store_passphrase.go
index 74408f874..7d21b6604 100644
--- a/crypto/key_store_passphrase.go
+++ b/crypto/key_store_passphrase.go
@@ -20,6 +20,7 @@
* @date 2015
*
*/
+
/*
This key store behaves as KeyStorePlain with the difference that
@@ -64,17 +65,18 @@ package crypto
import (
"bytes"
- "code.google.com/p/go-uuid/uuid"
- "code.google.com/p/go.crypto/scrypt"
"crypto/aes"
"crypto/cipher"
"encoding/hex"
"encoding/json"
"errors"
- "github.com/ethereum/go-ethereum/crypto/randentropy"
"io"
"os"
"path"
+
+ "code.google.com/p/go-uuid/uuid"
+ "github.com/ethereum/go-ethereum/crypto/randentropy"
+ "golang.org/x/crypto/scrypt"
)
const (