aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/key_store_test.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-04-03 00:15:58 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-05-12 23:18:30 +0800
commit6b23094cff77d7e485e0a2ae5698884f63c87ce7 (patch)
tree54f1b48de9df3cd7b6e8e388b91fa76190d1a852 /crypto/key_store_test.go
parent9918b6c84e2547f3d24a6cfeb97cfcbd6cb4dc98 (diff)
downloadgo-tangerine-6b23094cff77d7e485e0a2ae5698884f63c87ce7.tar.gz
go-tangerine-6b23094cff77d7e485e0a2ae5698884f63c87ce7.tar.zst
go-tangerine-6b23094cff77d7e485e0a2ae5698884f63c87ce7.zip
Improve key store passphrase crypto
* Change MAC-then-Encrypt to Encrypt-then-MAC * Change AES256 to AES128 * Use first 16 bytes of KDF derived key for AES and remaining 16 for MAC
Diffstat (limited to 'crypto/key_store_test.go')
-rw-r--r--crypto/key_store_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/key_store_test.go b/crypto/key_store_test.go
index f0a1e567b..6e50afe34 100644
--- a/crypto/key_store_test.go
+++ b/crypto/key_store_test.go
@@ -1,8 +1,8 @@
package crypto
import (
- "github.com/ethereum/go-ethereum/crypto/randentropy"
"github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/crypto/randentropy"
"reflect"
"testing"
)