This question already has an answer here:

i want to create dapp like cold wallet on which i can access my sign transaction with private key but in order to get private key for each time i need offline code or script to decrypt my keystore that is in aes-128 ,with the help of password i want to get private key back to other function.

basically it should work like myetherwallet walletinfo/keystore or metamask kinda

any tutorial or document will work.. thanks

marked as duplicate by Ismael, Achala Dissanayake, Richard Horrocks, Eli Drion, flygoing May 1 '18 at 12:14

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.