Get your private key from your steemit.com password by dantheman

View this thread on steempeak.com
· @dantheman ·
$19.14
Get your private key from your steemit.com password
This article provides the algorithm and instructions on how to use tools.

Every account has 4 keys roles:  owner, active, posting, and memo.  The algorithm used to generate the private key depends upon the the *account*, *role*, and *password*.

**Algorithm** 

     secret = SHA256( account + role + password ) 
     
**C++ Algorithm**

    string seed = account + role + password;
    auto secret = fc::sha256::hash(  seed.c_str(), seed.size() );
    auto key    = fc::ecc::private_key::regenerate( secret );


**Using the CLI wallet**
The command line wallet has a helper api call that will return the public key and private key in WIF format.

    locked >>> get_private_key_from_password username active "password" 
    [
    "STM5SKxjN1YdrFLgoPcp9KteUmNVdgE8DpTPC9sF6jbjVqP9d2Utq",
    "5JamTPvZyQsHf8c2pbN92F1gUY3sJkpW3ZJFzdmfbAJPAXT5aw3"
    ]     

**Note**: The username and keys generated are not validated against the blockchain state and are not saved in your wallet. This CLI api is merely a utility. **STM5SKxjN1YdrFLgoPcp9KteUmNVdgE8DpTPC9sF6jbjVqP9d2Utq** is the public key in Steem format, and  **5JamTPvZyQsHf8c2pbN92F1gUY3sJkpW3ZJFzdmfbAJPAXT5aw3** is the private key in [Bitcoin's Wallet Import Format (WIF)](https://en.bitcoin.it/wiki/Wallet_import_format).
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 3 others
👎  
properties (23)
post_id3,198
authordantheman
permlinkget-your-private-key-from-your-steemit
categorysteemhelp
json_metadata{}
created2016-05-10 14:30:27
last_update2016-05-10 14:30:27
depth0
children10
net_rshares13,834,548,164,748
last_payout2016-08-20 13:10:15
cashout_time1969-12-31 23:59:59
total_payout_value9.587 SBD
curator_payout_value9.554 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,280
author_reputation240,497,801,758,545
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (68)
@tyanderson ·
$0.16
properties (23)
post_id79,525
authortyanderson
permlinkre-dantheman-get-your-private-key-from-your-steemit-20160714t132657531z
categorysteemhelp
json_metadata"{"tags": ["steemhelp"]}"
created2016-07-14 13:27:00
last_update2016-07-14 13:27:00
depth1
children0
net_rshares216,697,188,374
last_payout2016-08-20 13:10:15
cashout_time1969-12-31 23:59:59
total_payout_value0.160 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length45
author_reputation261,015,721,568
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (19)
@screenplaydan ·
Is there a way to directly create keys in command line?
properties (22)
post_id89,731
authorscreenplaydan
permlinkre-dantheman-get-your-private-key-from-your-steemit-20160715t192325814z
categorysteemhelp
json_metadata"{"tags": ["steemhelp"]}"
created2016-07-15 19:23:27
last_update2016-07-15 19:23:27
depth1
children1
net_rshares0
last_payout2016-08-20 13:10:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length55
author_reputation57,987,359,510
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@michaelx ·
yes - there is a generate key command
properties (22)
post_id296,880
authormichaelx
permlinkre-screenplaydan-re-dantheman-get-your-private-key-from-your-steemit-20160727t182011758z
categorysteemhelp
json_metadata"{"tags": ["steemhelp"]}"
created2016-07-27 18:20:33
last_update2016-07-27 18:20:33
depth2
children0
net_rshares0
last_payout2016-08-20 13:10:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length37
author_reputation10,051,299,692,256
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@cybercranium ·
Is there any reason that a normal Steemit user would need these keys? Am I not just fine as long as I have my username and password saved somewhere?
properties (22)
post_id2,479,213
authorcybercranium
permlinkre-dantheman-get-your-private-key-from-your-steemit-20170425t202302316z
categorysteemhelp
json_metadata"{"app": "steemit/0.1", "tags": ["steemhelp"]}"
created2017-04-25 20:23:03
last_update2017-04-25 20:23:03
depth1
children1
net_rshares0
last_payout2017-05-02 20:23:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length148
author_reputation203,652,098,184
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@cruzs ·
I dont get it, too
properties (22)
post_id4,599,728
authorcruzs
permlinkre-cybercranium-re-dantheman-get-your-private-key-from-your-steemit-20170621t212502362z
categorysteemhelp
json_metadata"{"app": "steemit/0.1", "tags": ["steemhelp"]}"
created2017-06-21 21:25:06
last_update2017-06-21 21:25:06
depth2
children0
net_rshares0
last_payout2017-06-28 21:25:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length18
author_reputation1,900,591,964
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@residual ·
This is too complicated.
properties (22)
post_id7,809,769
authorresidual
permlinkre-dantheman-get-your-private-key-from-your-steemit-20170721t105533402z
categorysteemhelp
json_metadata"{"app": "steemit/0.1", "tags": ["steemhelp"]}"
created2017-07-21 10:57:00
last_update2017-07-21 10:57:00
depth1
children0
net_rshares0
last_payout2017-07-28 10:57:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length24
author_reputation637,447,532,642
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@sky77 · (edited)
Good info. It makes sense -- I've learned  WIF / key generation recently. It looks like Steem format is basically standard WIF with the first symbols of the base58 key = "STM" (or more accurately a WIF always starting with M and ST prefixed).  Where can the CLI be found is the question. WIF originated with Bitcoin from what I read but is now generic used by basically all coins incl.  steem of course. This is a double sha 256 call -- shown in the c++ above -- similar to bitcoin address generation
properties (22)
post_id8,734,534
authorsky77
permlinkre-dantheman-get-your-private-key-from-your-steemit-20170730t152801581z
categorysteemhelp
json_metadata"{"app": "steemit/0.1", "tags": ["steemhelp"]}"
created2017-07-30 15:28:00
last_update2017-07-30 15:42:21
depth1
children0
net_rshares0
last_payout2017-08-06 15:28:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length500
author_reputation40,530,109,565
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@cyberprince ·
I need help ..  I tried setting up the steemit wordpress plugin but was asked to get my private key which i dont know where to get ... Please help
👍  , ,
properties (23)
post_id15,050,137
authorcyberprince
permlinkre-dantheman-get-your-private-key-from-your-steemit-20171011t121647370z
categorysteemhelp
json_metadata"{"app": "steemit/0.1", "tags": ["steemhelp"]}"
created2017-10-11 12:16:51
last_update2017-10-11 12:16:51
depth1
children1
net_rshares0
last_payout2017-10-18 12:16:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length146
author_reputation-3,397,121,743
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (3)
@s21 ·
Same here. Have you found any solution to this?
properties (22)
post_id45,394,040
authors21
permlinkre-cyberprince-re-dantheman-get-your-private-key-from-your-steemit-20180425t192001226z
categorysteemhelp
json_metadata"{"app": "steemit/0.1", "tags": ["steemhelp"]}"
created2018-04-25 19:20:03
last_update2018-04-25 19:20:03
depth2
children0
net_rshares0
last_payout2018-05-02 19:20:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length47
author_reputation30,510,157,139
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@wakeupkitty ·
I do not understand 1 word of it or how to get these passwords
properties (22)
post_id45,496,084
authorwakeupkitty
permlinkre-dantheman-get-your-private-key-from-your-steemit-20180426t104336300z
categorysteemhelp
json_metadata"{"app": "steemit/0.1", "tags": ["steemhelp"]}"
created2018-04-26 10:43:42
last_update2018-04-26 10:43:42
depth1
children0
net_rshares0
last_payout2018-05-03 10:43:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length62
author_reputation252,477,233,160,163
root_title"Get your private key from your steemit.com password"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000