Bitcoin Forum
September 29, 2025, 07:59:19 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 »
1  Bitcoin / Development & Technical Discussion / Re: Python brainwallet generation - hash160 problem on: March 29, 2013, 05:49:51 PM
Oh my. You should use hash160.update(hashlib.sha256(PUBLIC_KEY).digest()), and you can't calculate public key without using Elliptic Curve DSA.

Code:
import hashlib

passphrase = ""
print hashlib.sha256(passphrase).hexdigest() #<-- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

# tons of ecdsa related stuff, e.g.
# k = ECDSA_KEY()
# k.generate('e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'.decode('hex'))
# echo k.get_pubkey().encode('hex') # <- 04a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd5b8dec5235a0fa8722476c7709c02559e3aa73aa03918ba2d492eea75abea235

pub='04a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd5b8dec5235a0fa8722476c7709c02559e3aa73aa03918ba2d492eea75abea235'.decode('hex')
hash160 = hashlib.new('ripemd160')
hash160.update(hashlib.sha256(pub).digest())
print hash160.hexdigest() #<-- b5bd079c4d57cc7fc28ecf8213a6b791625b8183
2  Bitcoin / Development & Technical Discussion / Re: Deserialize Raw TX? on: March 21, 2013, 06:53:11 PM
It decodes transactions as well, just paste raw transaction to the Raw Transaction field.
3  Other / Beginners & Help / Re: Private key (DER) convert to ...? on: February 19, 2013, 05:33:57 PM
just remove spaces from the copypaste above (forum engine breaks line every 160 chararacters)
Code:
308201130201010420c4bbcb1fbec99d65bf59d85c8cb62ee2db963f0fe106f483d9afa73bd4e39a8aa081a53081a2020101302c06072a8648ce3d0101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f300604010004010704410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101a1440342000478d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71a1518063243acd4dfe96b66e3f2ec8013c8e072cd09b3834a19f81f659cc3455
4  Other / Beginners & Help / Re: Private key (DER) convert to ...? on: February 19, 2013, 02:35:38 PM
Those (DER) keys are ASN-encoded, try http://lapo.it/asn1js/
It contains both private and public keys along with a generator OID description (in this case, 1.2.840.10045.1.1).
First OCTET STRING (32-bytes) is usually a secret exponent, which you may convert to Base58Check ver. 128 or import as is.
5  Bitcoin / Bitcoin Technical Support / Re: Importing bitcoins from private key on: November 16, 2012, 09:59:31 AM
Nope. Compressed keys (default ones, since 0.7) start either from L or from K.
6  Bitcoin / Bitcoin Discussion / Re: [ANN] Buried Keys on: November 01, 2012, 02:15:51 PM
Am I doing it right http://tinyurl.com/geobtc ? Not sure it uses spaces, the description is vague it might be \n or something.
Some ppl tried to bruteforce it using http://download.geonames.org/export/dump/allCountries.zip (1GB unzipped) didn't get anything.
If someone will manage to solve it, please report here for gods sake.
7  Other / Beginners & Help / Re: Problem with private key import/export. on: October 27, 2012, 07:47:40 AM
L5iyipTyQ6kHHcumG2ihbBnqJFGBq9nXY53Mmp3uPBg5FE82vNTC is a valid private key for the "compressed" pubkey of 13E4sDkWHMBJqFe9yFWM1JyBmJz5LZKUEL (secret exponent fdc17449119f6cc1857f07d3cb53868b8df79b20d8c5a282d88ae19cb7d67ceb). Blockchain.info imports it just fine.

Both 5KHV7MizuJ9FXfoK1jongbYeAHiDL49FAQphAyoUgJ8jUrJi56i and c17449119f6cc1857f07d3cb53868b8df79b20d8c5a282d88ae19cb7d67ceba0 are wrong.
8  Economy / Web Wallets / Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics on: September 05, 2012, 12:19:00 AM
Zero outputs might be considered non-standard since 0.7.0. https://github.com/bitcoin/bitcoin/issues/1711
9  Economy / Web Wallets / Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics on: September 04, 2012, 11:16:19 AM
Oh god! Isn't it a way too public? Smiley I'd restrict it for logged users only.

The bug with no method 'abs' seems gone.
10  Economy / Web Wallets / Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics on: September 04, 2012, 09:40:53 AM
Got "TypeError: Object 31 has no method 'abs'" on sending (not related to transaction notes) 3 different times, might be an error while gathering inputs.
Once it pops up it doesn't allow to send given amount anywhere. I'd suggest not using blockchain.info until fixed.

Edit: not only me (though I got object 31 not 51 and don't have any rejected transactions).

I had returned bitcoin transaction on my blockchain wallet, I guess the fee was insufficient and now when I try to send those funds I see " TypeError: Object 51 has no method 'abs' "
Has anybody ever had this error with blockchain?
11  Economy / Long-term offers / Re: [BitcoinMax.com] Closing down on: August 29, 2012, 05:23:30 PM
EDIT: There's some discussion about the legality/need of providing information about all the sub-accounts. In truth, Payb.tc is the only "account" of BCS&T, and therefore is owed the entire amount. I'm not sure how I feel about pirate getting your entire customer list, with bitcoin addresses and email addresses.
There are NO EMAIL ADDRESSES! Nobody never asked my email in PM and there are NO emails in the web interface.
Paybtc, please send my account to pirate. I don't mind.
12  Economy / Speculation / Re: 1DkyBEKt5S2GDtv7aQw6rQepAvnsRyHoYM on: August 21, 2012, 07:15:02 AM
I'll dump on every 16th in a month! heh

I noticed it a short while ago.

Quote
Session Start: Sun Aug 19
Session Ident: #bitcoin-otc
<Joric> http://bitcoincharts.com/charts/mtgoxUSD#rg60ztgSzm1g10zm2g25zv wtf why volume always spikes at 17
<Joric> i'll wait for september 17
<andkore> Joric: that's odd
<boonies4u> must have something to do with dwolla
<boonies4u> would be my guess
13  Economy / Speculation / Re: 1DkyBEKt5S2GDtv7aQw6rQepAvnsRyHoYM on: August 20, 2012, 09:51:29 PM
Someone please decode for those of us (me) who are too lazy to do it.

It's 'drink your ovaltine' and 'so long and thanks for all the fish'.
I used the script here http://pastebin.com/GbWQgP4s
14  Economy / Service Announcements / Re: https://bitdaytrade.com Bitcoin Gold & Commodities margin trading on: August 17, 2012, 04:27:37 AM
Are you going to refund those 3,000 BTC stolen with bitscalper?
15  Economy / Web Wallets / Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics on: August 17, 2012, 03:39:59 AM
Apparently all the fancy algorithm stuff I did was completely superfluous. Cheesy - Thanks to Joric for the pointer.

You're welcome! Damn, I should read forum more often, I wrote js siginig/verifying code 08-12 and the bounty was pledged 08-14. My tip jar is in the signature.
16  Bitcoin / Bitcoin Discussion / Re: Results of dictionary attack on SHA256 hashed keys on: August 13, 2012, 05:52:54 PM
I don't understand why everyone writes about billions of keys per second. It's really slower than you think, at least for now.
Calculating sha256 is really just a tiny fraction of calculating an ecdsa keypair.
While vanitygen only does 1 EC addition, calculating an ecdsa key from seed needs at least two full blown multiplications of big numbers.
Long story short, CPUs only can generate about 1,000 keys a second, modern GPUs can calculate 20,000 keys a second, tops.
Not billions, thousands. 6 orders of magnitude smaller than billions. 1,000 times slower than vanitygen.

17  Other / Beginners & Help / Re: Really need help with corrupt wallet, tried everything... on: August 07, 2012, 12:50:40 PM
I'm sorry, but https://github.com/joric/pywallet never ever used Twisted and Zope.Interface.
So, the real installation should be like:
1. Install Python-2.7.2.msi (bsddb included).
That's basically, all.
18  Bitcoin / Project Development / Re: [Now Funded] Help build a better Bitcoin logo! on: July 27, 2012, 09:31:18 AM
All those logos are pathetic. Why don't you get a bounty up and find some guy on dribbble?
19  Economy / Web Wallets / Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics on: July 27, 2012, 07:16:39 AM
Could you please add importing arbitrary passphrase as a key (see http://bitaddress.org for example).
I.e. if private key format is not recognized, suggest using sha256 of the passphrase.
20  Economy / Speculation / Re: What happens to Bitcoin when free energy is available? on: July 26, 2012, 02:37:49 AM
What energy is free?  Like hamsters going in a wheel? Smiley

If they wouldn't eat.. Damn, I pay almost less for my own dinner..

Heard someone just tried 51% attack on LTC. Easy with those hamsters!
Pages: [1] 2 3 4 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!