Bitcoin Forum
April 24, 2024, 05:22:30 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to genarate private key  (Read 868 times)
changjixiong (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
June 28, 2013, 01:01:37 PM
 #1

hi everybody, I hava read the bitcoin protocol, and known how to calculate bitcoin address from private key, but the way how to genarate private key is not very clearly in the protocol, anybody knows? I want to write a program to genarate key pairs use python Cheesy
1713936150
Hero Member
*
Offline Offline

Posts: 1713936150

View Profile Personal Message (Offline)

Ignore
1713936150
Reply with quote  #2

1713936150
Report to moderator
1713936150
Hero Member
*
Offline Offline

Posts: 1713936150

View Profile Personal Message (Offline)

Ignore
1713936150
Reply with quote  #2

1713936150
Report to moderator
1713936150
Hero Member
*
Offline Offline

Posts: 1713936150

View Profile Personal Message (Offline)

Ignore
1713936150
Reply with quote  #2

1713936150
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713936150
Hero Member
*
Offline Offline

Posts: 1713936150

View Profile Personal Message (Offline)

Ignore
1713936150
Reply with quote  #2

1713936150
Report to moderator
realdos
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile
June 28, 2013, 01:44:04 PM
 #2

http://en.wikipedia.org/wiki/Elliptic_Curve_DSA
https://en.bitcoin.it/wiki/Technical_background_of_Bitcoin_addresses
changjixiong (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
June 28, 2013, 01:45:55 PM
 #3

thank you very much Smiley
polrpaul
Full Member
***
Offline Offline

Activity: 238
Merit: 100


Love the Bitcoin.


View Profile WWW
June 28, 2013, 01:49:16 PM
 #4

ask and you shall receive!

BTC.sx - Leveraged Bitcoin Trading. Simply use Bitcoin to take advantage of a rising or falling Bitcoin price.
threeip
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile WWW
June 29, 2013, 06:13:42 PM
 #5


Also don't forget to browse over here -> https://github.com/search?q=python+bitcoin

ส็็็็็็็็็็็็็็็็็็็็็็็็็ GPG:2AFD99BB ಠ_ಠ mon
richardkiss
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 29, 2013, 07:39:02 PM
 #6

I've recently released some Python code which makes it easy to generate private keys (among other things). It's pretty easy to follow. Take a look:

https://github.com/richardkiss/pycoin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!