Bitcoin Forum
December 03, 2016, 07:48:36 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: 100 BTC for a key extracting program  (Read 4174 times)
dirtyfilthy
Member
**
Offline Offline

Activity: 75


View Profile
January 05, 2011, 10:34:29 PM
 #21


Isn't DER format the same as raw byte ?   Anyway I opened an other thread and Hal found out that the key has a "ASN.1 cruft" or something.  So I add to add a tail -c 64.

I have to read about this ASN thing.


Glad your problem got solved. Out of curiosity what are you planning to use the extracted key for?

Address: 1EkSP5Uqf5Fhs8Gg4XJG2b3hrFS7Vm8WFz
1480794516
Hero Member
*
Offline Offline

Posts: 1480794516

View Profile Personal Message (Offline)

Ignore
1480794516
Reply with quote  #2

1480794516
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480794516
Hero Member
*
Offline Offline

Posts: 1480794516

View Profile Personal Message (Offline)

Ignore
1480794516
Reply with quote  #2

1480794516
Report to moderator
1480794516
Hero Member
*
Offline Offline

Posts: 1480794516

View Profile Personal Message (Offline)

Ignore
1480794516
Reply with quote  #2

1480794516
Report to moderator
1480794516
Hero Member
*
Offline Offline

Posts: 1480794516

View Profile Personal Message (Offline)

Ignore
1480794516
Reply with quote  #2

1480794516
Report to moderator
grondilu
Legendary
*
Offline Offline

Activity: 1134


View Profile
January 06, 2011, 03:31:11 AM
 #22


Isn't DER format the same as raw byte ?   Anyway I opened an other thread and Hal found out that the key has a "ASN.1 cruft" or something.  So I add to add a tail -c 64.

I have to read about this ASN thing.


Glad your problem got solved. Out of curiosity what are you planning to use the extracted key for?

I want to implement an exchange system where owners are identified by a bitcoin address.

So in order to transfer an asset to an other person, one just has to sign (with the bitcoin address key) the new bitcoin address.

The advantage is that if the asset is a bond or a shareholding, paiements of dividends or coupons can be done on the bitcoin address.

Mike Hearn
Legendary
*
Offline Offline

Activity: 1526


View Profile
January 06, 2011, 02:04:22 PM
 #23

DER encoding is a form of ASN.1

I really wouldn't recommend trying to do this in bash. Most languages will make this easy ... but bash isn't one of them.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!