From 7941945e4fe8a39fe7f8575fdb65757c90ca9d86 Mon Sep 17 00:00:00 2001 From: Nikita Fuchs Date: Thu, 9 Aug 2018 18:05:17 +0200 Subject: [PATCH] fix wrong address derivation instruction Credits: https://kobl.one/blog/create-full-ethereum-keypair-and-address/#complete-example --- source/account-management.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/account-management.rst b/source/account-management.rst index 524a4706..0af02e18 100644 --- a/source/account-management.rst +++ b/source/account-management.rst @@ -17,7 +17,7 @@ Accounts represent identities of external agents (e.g., human personas, mining n Keyfiles ================================================================================ -Every account is defined by a pair of keys, a private key and public key. Accounts are indexed by their *address* which is derived from the public key by taking the last 20 bytes. Every private key/address pair is encoded in a *keyfile*. Keyfiles are JSON text files which you can open and view in any text editor. The critical component of the keyfile, your account’s private key, is always encrypted, and it is encrypted with the password you enter when you create the account. Keyfiles are found in the ``keystore`` subdirectory of your Ethereum node’s data directory. Make sure you backup your keyfiles regularly! See the section :ref:`backup-and-restore-accounts` for more information. +Every account is defined by a pair of keys, a private key and public key. Accounts are indexed by their *address* which is derived from the public key by hashing it as hexadecimal input of the keccak-256 hashfunction and taking the last 20 bytes of the result. Every private key/address pair is encoded in a *keyfile*. Keyfiles are JSON text files which you can open and view in any text editor. The critical component of the keyfile, your account’s private key, is always encrypted, and it is encrypted with the password you enter when you create the account. Keyfiles are found in the ``keystore`` subdirectory of your Ethereum node’s data directory. Make sure you backup your keyfiles regularly! See the section :ref:`backup-and-restore-accounts` for more information. Creating a key is tantamount to creating an account.