As Bilal suggested, a separate topic for the process of generating Ethereum address on Windows.
- Install openssl from here
- Install geth from https://geth.ethereum.org/downloads/
- Generate key pair using “openssl ecparam -name secp256k1 -genkey -noout | openssl ec -text -noout > Key”. The result will look like this:
Private-Key: (256 bit)
ASN1 OID: secp256k1
- Use “type Key” to check your keys
- Copy your public key and paste it in notepad. Remove all the spaces, colons ( : ) and newline characters. Also remove the 04 in the beginning of the string. Your key should look like this:
Save the file as ‘pub’.
- I used this calculator to generate keccak256 hash. Please refer image for the settings.
- Repeat step 5 for your private key. There is one difference; remove the leading ‘00’ if there is and save the file as ‘priv’
- Create Ethereum account using “geth account import priv” command. After entering the password, an address will be generated. Compare it with the last 40 characters of your keccak256 hash. If they are same, everything worked fine else repeat the process.
I followed the tutorial suggested by Bilal with a few tweaks.