aboutsummaryrefslogtreecommitdiffstats
path: root/KeyStoreTests
diff options
context:
space:
mode:
Diffstat (limited to 'KeyStoreTests')
-rw-r--r--KeyStoreTests/pbkdf2_test.json38
1 files changed, 31 insertions, 7 deletions
diff --git a/KeyStoreTests/pbkdf2_test.json b/KeyStoreTests/pbkdf2_test.json
index 1f0653259..183013166 100644
--- a/KeyStoreTests/pbkdf2_test.json
+++ b/KeyStoreTests/pbkdf2_test.json
@@ -2,22 +2,46 @@
"test1": {
"json": {
"crypto" : {
- "cipher" : "aes-128-cbc",
+ "cipher" : "aes-128-ctr",
"cipherparams" : {
- "iv" : "db76cba2e79171364c5d5378190062c8"
+ "iv" : "6087dab2f9fdbbfaddc31a909735c1e6"
},
- "ciphertext" : "e8ae879315e349d8804a779421b26d95d2d3195fcf6c4039ee5323b858f53ef3",
+ "ciphertext" : "5318b4d5bcd28de64ee5559e671353e16f075ecae9f99c7a79a38af5f869aa46",
"kdf" : "pbkdf2",
"kdfparams" : {
"c" : 262144,
- "dklen" : 16,
+ "dklen" : 32,
"prf" : "hmac-sha256",
- "salt" : "de5742f1f1045c402296422cee5a8a9ecf0ac5bf594deca1170d22aef33a79cf"
+ "salt" : "ae3cd4e7013836a3df6bd7241b12db061dbe2c6785853cce422d148a624ce0bd"
},
- "mac" : "340aed34a9229210bfb7a5731268d78c68dba5e78a5a4eb87ff6e28bf2952735"
+ "mac" : "517ead924a9d0dc3124507e3393d175ce3ff7c1e96529c6c555ce9e51205e9b2"
},
"id" : "3198bc9c-6672-5ab3-d995-4942343ae5b6",
- "version" : 2
+ "version" : 3
+ },
+ "password": "testpassword",
+ "priv": "7a28b5ba57c53603b0b07b56bba752f7784bf506fa95edc395f5cf6c7514fe9d"
+ },
+ "test2": {
+ "json": {
+ "crypto" : {
+ "cipher" : "aes-128-ctr",
+ "cipherparams" : {
+ "iv" : "83dbcc02d8ccb40e466191a123791e0e"
+ },
+ "ciphertext" : "d172bf743a674da9cdad04534d56926ef8358534d458fffccd4e6ad2fbde479c",
+ "kdf" : "scrypt",
+ "kdfparams" : {
+ "dklen" : 32,
+ "n" : 262144,
+ "r" : 1,
+ "p" : 8,
+ "salt" : "ab0c7876052600dd703518d6fc3fe8984592145b591fc8fb5c6d43190334ba19"
+ },
+ "mac" : "2103ac29920d71da29f15d75b4a16dbe95cfd7ff8faea1056c33131d846e3097"
+ },
+ "id" : "3198bc9c-6672-5ab3-d995-4942343ae5b6",
+ "version" : 3
},
"password": "testpassword",
"priv": "7a28b5ba57c53603b0b07b56bba752f7784bf506fa95edc395f5cf6c7514fe9d"