aboutsummaryrefslogtreecommitdiffstats
path: root/KeyStoreTests
diff options
context:
space:
mode:
authorVitalik Buterin <v@buterin.com>2015-05-21 16:15:13 +0800
committerVitalik Buterin <v@buterin.com>2015-05-21 16:15:13 +0800
commit4faba3f3e2917d7e141704a30d79d231e0328b08 (patch)
treeabbd20640be4b72d7d71b000245dab6f7521baf9 /KeyStoreTests
parent949f423c0bf98c8e95437d33ffb06b233c6eeb84 (diff)
downloadtangerine-tests-4faba3f3e2917d7e141704a30d79d231e0328b08.tar
tangerine-tests-4faba3f3e2917d7e141704a30d79d231e0328b08.tar.gz
tangerine-tests-4faba3f3e2917d7e141704a30d79d231e0328b08.tar.bz2
tangerine-tests-4faba3f3e2917d7e141704a30d79d231e0328b08.tar.lz
tangerine-tests-4faba3f3e2917d7e141704a30d79d231e0328b08.tar.xz
tangerine-tests-4faba3f3e2917d7e141704a30d79d231e0328b08.tar.zst
tangerine-tests-4faba3f3e2917d7e141704a30d79d231e0328b08.zip
Added keystore test
Diffstat (limited to 'KeyStoreTests')
-rw-r--r--KeyStoreTests/pbkdf2_test.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/KeyStoreTests/pbkdf2_test.json b/KeyStoreTests/pbkdf2_test.json
new file mode 100644
index 000000000..1f0653259
--- /dev/null
+++ b/KeyStoreTests/pbkdf2_test.json
@@ -0,0 +1,25 @@
+{
+ "test1": {
+ "json": {
+ "crypto" : {
+ "cipher" : "aes-128-cbc",
+ "cipherparams" : {
+ "iv" : "db76cba2e79171364c5d5378190062c8"
+ },
+ "ciphertext" : "e8ae879315e349d8804a779421b26d95d2d3195fcf6c4039ee5323b858f53ef3",
+ "kdf" : "pbkdf2",
+ "kdfparams" : {
+ "c" : 262144,
+ "dklen" : 16,
+ "prf" : "hmac-sha256",
+ "salt" : "de5742f1f1045c402296422cee5a8a9ecf0ac5bf594deca1170d22aef33a79cf"
+ },
+ "mac" : "340aed34a9229210bfb7a5731268d78c68dba5e78a5a4eb87ff6e28bf2952735"
+ },
+ "id" : "3198bc9c-6672-5ab3-d995-4942343ae5b6",
+ "version" : 2
+ },
+ "password": "testpassword",
+ "priv": "7a28b5ba57c53603b0b07b56bba752f7784bf506fa95edc395f5cf6c7514fe9d"
+ }
+}