2

Hi I need to know the command which is used to generate encrypted bitcoin private key from bitcoin-cli (for a bitcoin address) so in future when that private key is used for import address in any application it ask for password also ?

3

There is no such way to do that. Bitcoin Core does not support BIP 38 for private key encryption so you cannot export nor import an encrypted private key.

  • So how bitcoin Wallet available in market achieve this type of functionality as when I try to import my private key it ask for password ? – Phreak Sep 12 '17 at 5:11
  • Those wallets implement the BIP 38 standard for private key encryption. Bitcoin Core does not. BIP 38 is not a consensus rule, just a wallet implementation thing, so wallets can choose to use it or not. – Andrew Chow Sep 12 '17 at 16:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.