2

This question already has an answer here:

What is the logic behind Ethereum creating key file and account account address from the private key. I am able to import a ECDSA private key to create an account. Same account address is generated for one specific private key.

I am looking to generate the public ethereum address and the key file outside of ethereum.

marked as duplicate by galahad, eth Nov 15 '16 at 8:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.