Bitcoin Forum
May 08, 2024, 11:18:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: 100 BTC for a key extracting program  (Read 5531 times)
dirtyfilthy
Member
**
Offline Offline

Activity: 77
Merit: 10


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?
1715167120
Hero Member
*
Offline Offline

Posts: 1715167120

View Profile Personal Message (Offline)

Ignore
1715167120
Reply with quote  #2

1715167120
Report to moderator
1715167120
Hero Member
*
Offline Offline

Posts: 1715167120

View Profile Personal Message (Offline)

Ignore
1715167120
Reply with quote  #2

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

Posts: 1715167120

View Profile Personal Message (Offline)

Ignore
1715167120
Reply with quote  #2

1715167120
Report to moderator
grondilu (OP)
Legendary
*
Offline Offline

Activity: 1288
Merit: 1076


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
Merit: 1129


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:  

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