Search content
Sort by

Showing 20 of 65 results by Joric
Post
Topic
Board Development & Technical Discussion
Merits 3 from 1 user
Re: Python brainwallet generation - hash160 problem
by
Joric
on 29/03/2013, 17:49:51 UTC
⭐ Merited by xandry (3)
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
Post
Topic
Board Development & Technical Discussion
Re: Deserialize Raw TX?
by
Joric
on 21/03/2013, 18:53:11 UTC
It decodes transactions as well, just paste raw transaction to the Raw Transaction field.
Post
Topic
Board Beginners & Help
Merits 2 from 1 user
Re: Private key (DER) convert to ...?
by
Joric
on 19/02/2013, 17:33:57 UTC
⭐ Merited by xandry (2)
just remove spaces from the copypaste above (forum engine breaks line every 160 chararacters)
Code:
308201130201010420c4bbcb1fbec99d65bf59d85c8cb62ee2db963f0fe106f483d9afa73bd4e39a8aa081a53081a2020101302c06072a8648ce3d0101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f300604010004010704410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101a1440342000478d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71a1518063243acd4dfe96b66e3f2ec8013c8e072cd09b3834a19f81f659cc3455
Post
Topic
Board Beginners & Help
Merits 3 from 1 user
Re: Private key (DER) convert to ...?
by
Joric
on 19/02/2013, 14:35:38 UTC
⭐ Merited by xandry (3)
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.
Post
Topic
Board Bitcoin Technical Support
Merits 3 from 1 user
Re: Importing bitcoins from private key
by
Joric
on 16/11/2012, 09:59:31 UTC
⭐ Merited by xandry (3)
Nope. Compressed keys (default ones, since 0.7) start either from L or from K.
Post
Topic
Board Bitcoin Discussion
Re: [ANN] Buried Keys
by
Joric
on 01/11/2012, 14:15:51 UTC
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.
Post
Topic
Board Beginners & Help
Merits 3 from 1 user
Re: Problem with private key import/export.
by
Joric
on 27/10/2012, 07:47:40 UTC
⭐ Merited by xandry (3)
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.
Post
Topic
Board Web Wallets
Merits 4 from 1 user
Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics
by
Joric
on 05/09/2012, 00:19:00 UTC
⭐ Merited by xandry (4)
Zero outputs might be considered non-standard since 0.7.0. https://github.com/bitcoin/bitcoin/issues/1711
Post
Topic
Board Web Wallets
Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics
by
Joric
on 04/09/2012, 11:16:19 UTC
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.
Post
Topic
Board Web Wallets
Merits 4 from 1 user
Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics
by
Joric
on 04/09/2012, 09:40:53 UTC
⭐ Merited by xandry (4)
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?
Post
Topic
Board Long-term offers
Merits 2 from 1 user
Re: [BitcoinMax.com] Closing down
by
Joric
on 29/08/2012, 17:23:30 UTC
⭐ Merited by xandry (2)
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.
Post
Topic
Board Speculation
Re: 1DkyBEKt5S2GDtv7aQw6rQepAvnsRyHoYM
by
Joric
on 21/08/2012, 07:15:02 UTC
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
http://bitcoincharts.com/charts/mtgoxUSD#rg60ztgSzm1g10zm2g25zv wtf why volume always spikes at 17
i'll wait for september 17
Joric: that's odd
must have something to do with dwolla
would be my guess
Post
Topic
Board Speculation
Merits 3 from 1 user
Re: 1DkyBEKt5S2GDtv7aQw6rQepAvnsRyHoYM
by
Joric
on 20/08/2012, 21:51:29 UTC
⭐ Merited by xandry (3)
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
Post
Topic
Board Service Announcements
Re: https://bitdaytrade.com Bitcoin Gold & Commodities margin trading
by
Joric
on 17/08/2012, 04:27:37 UTC
Are you going to refund those 3,000 BTC stolen with bitscalper?
Post
Topic
Board Web Wallets
Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics
by
Joric
on 17/08/2012, 03:39:59 UTC
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.
Post
Topic
Board Bitcoin Discussion
Merits 4 from 1 user
Re: Results of dictionary attack on SHA256 hashed keys
by
Joric
on 13/08/2012, 17:52:54 UTC
⭐ Merited by xandry (4)
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.

Post
Topic
Board Beginners & Help
Merits 4 from 1 user
Re: Really need help with corrupt wallet, tried everything...
by
Joric
on 07/08/2012, 12:50:40 UTC
⭐ Merited by xandry (4)
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.
Post
Topic
Board Project Development
Re: [Now Funded] Help build a better Bitcoin logo!
by
Joric
on 27/07/2012, 09:31:18 UTC
All those logos are pathetic. Why don't you get a bounty up and find some guy on dribbble?
Post
Topic
Board Web Wallets
Merits 4 from 1 user
Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics
by
Joric
on 27/07/2012, 07:16:39 UTC
⭐ Merited by xandry (4)
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.
Post
Topic
Board Speculation
Re: What happens to Bitcoin when free energy is available?
by
Joric
on 26/07/2012, 02:37:49 UTC
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!