Skip to content

Instantly share code, notes, and snippets.

@islishude
Created February 23, 2019 01:53
Show Gist options
  • Save islishude/b66746f873317f39933f045866d046e3 to your computer and use it in GitHub Desktop.
Save islishude/b66746f873317f39933f045866d046e3 to your computer and use it in GitHub Desktop.
以太坊KeyStore详解-Draft

生成Keystore

$ geth account new
Your new account is locked with a password. Please give a password. Do not forget this password.
Passphrase:
Repeat passphrase:
Address: {9f257f319f69e6f88012b25d5d50a4faf8bfafd4}
{
  "address": "478d4931b88a6c71316784b2863876f647e2b6e9",
  "crypto": {
    "cipher": "aes-128-ctr",
    "ciphertext": "5e3066568dc6c97c521f6ce03ac52485558392711d40aa5cd3862dbb5821e59b",
    "cipherparams": {
      "iv": "6f4c679c9d971bcaf9bd8093d8b390ce"
    },
    "kdf": "scrypt",
    "kdfparams": {
      "dklen": 32,
      "n": 262144,
      "p": 1,
      "r": 8,
      "salt": "cc8c8637e4324862b8d67258db9af2585cc243dac8dc75d7b45e5fc0327ff71c"
    },
    "mac": "8c7cf7b821cc4749c240d017d303dcb90e56ca20e414880b13abaf6a742c5819"
  },
  "id": "1365fba4-983d-47df-9a21-b66578bff356",
  "version": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment