github.com/sbrajchuk/go-ethereum@v1.9.7/accounts/keystore/testdata/v3_test_vector.json (about) 1 { 2 "wikipage_test_vector_scrypt": { 3 "json": { 4 "crypto" : { 5 "cipher" : "aes-128-ctr", 6 "cipherparams" : { 7 "iv" : "83dbcc02d8ccb40e466191a123791e0e" 8 }, 9 "ciphertext" : "d172bf743a674da9cdad04534d56926ef8358534d458fffccd4e6ad2fbde479c", 10 "kdf" : "scrypt", 11 "kdfparams" : { 12 "dklen" : 32, 13 "n" : 262144, 14 "r" : 1, 15 "p" : 8, 16 "salt" : "ab0c7876052600dd703518d6fc3fe8984592145b591fc8fb5c6d43190334ba19" 17 }, 18 "mac" : "2103ac29920d71da29f15d75b4a16dbe95cfd7ff8faea1056c33131d846e3097" 19 }, 20 "id" : "3198bc9c-6672-5ab3-d995-4942343ae5b6", 21 "version" : 3 22 }, 23 "password": "testpassword", 24 "priv": "7a28b5ba57c53603b0b07b56bba752f7784bf506fa95edc395f5cf6c7514fe9d" 25 }, 26 "wikipage_test_vector_pbkdf2": { 27 "json": { 28 "crypto" : { 29 "cipher" : "aes-128-ctr", 30 "cipherparams" : { 31 "iv" : "6087dab2f9fdbbfaddc31a909735c1e6" 32 }, 33 "ciphertext" : "5318b4d5bcd28de64ee5559e671353e16f075ecae9f99c7a79a38af5f869aa46", 34 "kdf" : "pbkdf2", 35 "kdfparams" : { 36 "c" : 262144, 37 "dklen" : 32, 38 "prf" : "hmac-sha256", 39 "salt" : "ae3cd4e7013836a3df6bd7241b12db061dbe2c6785853cce422d148a624ce0bd" 40 }, 41 "mac" : "517ead924a9d0dc3124507e3393d175ce3ff7c1e96529c6c555ce9e51205e9b2" 42 }, 43 "id" : "3198bc9c-6672-5ab3-d995-4942343ae5b6", 44 "version" : 3 45 }, 46 "password": "testpassword", 47 "priv": "7a28b5ba57c53603b0b07b56bba752f7784bf506fa95edc395f5cf6c7514fe9d" 48 }, 49 "31_byte_key": { 50 "json": { 51 "crypto" : { 52 "cipher" : "aes-128-ctr", 53 "cipherparams" : { 54 "iv" : "e0c41130a323adc1446fc82f724bca2f" 55 }, 56 "ciphertext" : "9517cd5bdbe69076f9bf5057248c6c050141e970efa36ce53692d5d59a3984", 57 "kdf" : "scrypt", 58 "kdfparams" : { 59 "dklen" : 32, 60 "n" : 2, 61 "r" : 8, 62 "p" : 1, 63 "salt" : "711f816911c92d649fb4c84b047915679933555030b3552c1212609b38208c63" 64 }, 65 "mac" : "d5e116151c6aa71470e67a7d42c9620c75c4d23229847dcc127794f0732b0db5" 66 }, 67 "id" : "fecfc4ce-e956-48fd-953b-30f8b52ed66c", 68 "version" : 3 69 }, 70 "password": "foo", 71 "priv": "fa7b3db73dc7dfdf8c5fbdb796d741e4488628c41fc4febd9160a866ba0f35" 72 }, 73 "30_byte_key": { 74 "json": { 75 "crypto" : { 76 "cipher" : "aes-128-ctr", 77 "cipherparams" : { 78 "iv" : "3ca92af36ad7c2cd92454c59cea5ef00" 79 }, 80 "ciphertext" : "108b7d34f3442fc26ab1ab90ca91476ba6bfa8c00975a49ef9051dc675aa", 81 "kdf" : "scrypt", 82 "kdfparams" : { 83 "dklen" : 32, 84 "n" : 2, 85 "r" : 8, 86 "p" : 1, 87 "salt" : "d0769e608fb86cda848065642a9c6fa046845c928175662b8e356c77f914cd3b" 88 }, 89 "mac" : "75d0e6759f7b3cefa319c3be41680ab6beea7d8328653474bd06706d4cc67420" 90 }, 91 "id" : "a37e1559-5955-450d-8075-7b8931b392b2", 92 "version" : 3 93 }, 94 "password": "foo", 95 "priv": "81c29e8142bb6a81bef5a92bda7a8328a5c85bb2f9542e76f9b0f94fc018" 96 } 97 }