Ethereum address test tool

Ethereum address test tool
This tool will help you to understand technically how a ethereum address is generated.
(note: all values are hex)

0- Private ECDSA Key:

(any random 256-bit number from 0x1 to 0xFFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFE BAAE DCE6 AF48 A03B BFD2 5E8C D036 4140)
more info: Secp256k1


Auto calculate all steps:

1- Public ECDSA Key:

(ethereum public key must be 64byte (32byte x 32byte y coordinates)
(this is uncompressed ECDSA public key without 04 prefix)

2- Keccak-256 hash of 1:

3- last 20 bytes of 2:

(this is ethereum address(without 0x prefix) but currently have not checksum)

starting checksum calculation
4- Keccak-256(tolowercase( value of 3 )):

(this is checksum reference)
(compare first 40 hex digit)
(a=10,b=11,c=12,d=13,e=14,f=15)
how?:
if (n th digit of (value of 4) > 7) then:
–> n th digit of (value of 3) must be uppercase(ignore digit is number)
else
–> n th digit of (value of 3) must be lowercase(ignore digit is number)

5- ethereum address with checksum:


6- add 0x prefix to 5:

(case sensitive final address)