Bitcoin Forum
April 24, 2024, 04:50:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 »  All
  Print  
Author Topic: www.btcbalance.net - View your balance easily online.  (Read 17927 times)
Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
August 23, 2011, 07:00:01 PM
 #41

Rather than checking blockexplorer for your wallet data, have you considered running your own block data software? There's an open source version in development on this thread: http://forum.bitcoin.org/index.php?topic=22785.0.
Yes of course.
I tried this, but for some reason I could not get it to work.
So for now I decided to go via the easy way.
Right now its okay to parse the information via blockexplorer.
If this thing grows big, I of course need to get this to work without parsing from the blockexplorer API.
Maybe add caching of the blockexplorer data every 30 minutes?
At least until you can setup your own.

Well right now the data amount being parsed isn't that significant.
So I guess I am not gonna plan in that one yet.
But we will see. Thanks for your input though.


1713934221
Hero Member
*
Offline Offline

Posts: 1713934221

View Profile Personal Message (Offline)

Ignore
1713934221
Reply with quote  #2

1713934221
Report to moderator
1713934221
Hero Member
*
Offline Offline

Posts: 1713934221

View Profile Personal Message (Offline)

Ignore
1713934221
Reply with quote  #2

1713934221
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713934221
Hero Member
*
Offline Offline

Posts: 1713934221

View Profile Personal Message (Offline)

Ignore
1713934221
Reply with quote  #2

1713934221
Report to moderator
1713934221
Hero Member
*
Offline Offline

Posts: 1713934221

View Profile Personal Message (Offline)

Ignore
1713934221
Reply with quote  #2

1713934221
Report to moderator
Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
December 06, 2011, 01:51:38 PM
 #42

Just wanna bump this since it got complety burried.

Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
May 17, 2012, 06:33:15 PM
 #43

The exchange rate display stopped working cause the Tradehill API died.
It's now retrieved from the Mtgox API.

Go check out now how many your bitcoins (spread over different addresses) are worth in euros or dollars.

bitcams
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 17, 2012, 07:11:02 PM
 #44

The exchange rate display stopped working cause the Tradehill API died.
It's now retrieved from the Mtgox API.

Go check out now how many your bitcoins (spread over different addresses) are worth in euros or dollars.

Thanks, I was just spending hours looking for this it was meant to be! (-:
Seal
Donator
Hero Member
*
Offline Offline

Activity: 848
Merit: 1078


View Profile WWW
May 21, 2012, 06:47:54 AM
 #45

Sounds like a good idea. I'm not sure if this makes sense though:

Encrypted with three random of the most secure algorithms

DefiDive - Filter the noise
A clean crypto asset management terminal
Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
May 21, 2012, 12:35:04 PM
Last edit: May 21, 2012, 07:24:44 PM by Grouver (BtcBalance)
 #46

Sounds like a good idea. I'm not sure if this makes sense though:

Encrypted with three random of the most secure algorithms
1) Thanks.
2) Which part doesn't make sense?

Vod
Legendary
*
Offline Offline

Activity: 3682
Merit: 3050


Licking my boob since 1970


View Profile WWW
May 21, 2012, 07:11:01 PM
 #47

You shouldn't be encrypting the IP addresses at all.

Use a one way hash to stop spam accounts.  Then if the database is compromised they have nothing.

https://nastyscam.com - landing page up     https://vod.fan - advanced image hosting - coming soon!
OGNasty has early onset dementia; keep this in mind when discussing his past actions.
Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
May 21, 2012, 07:22:48 PM
 #48

You shouldn't be encrypting the IP addresses at all.

Use a one way hash to stop spam accounts.  Then if the database is compromised they have nothing.

The passwords of each account are being tripple hashed with 3 random algorithmes.
IP adresses are hashed one time with SHA512.
Why shouldn't I hash the IP's if I may ask?

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 21, 2012, 07:24:30 PM
Last edit: May 21, 2012, 07:40:44 PM by DeathAndTaxes
 #49

He never said you shouldn't be encrypting hashing IP addresses.
Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
May 21, 2012, 07:26:41 PM
 #50

He never said you shouldn't be encrypting IP addresses.
You shouldn't be encrypting the IP addresses at all.

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 21, 2012, 07:40:30 PM
 #51

BLERG.  Fail on my part  I intended to write hashing.  You asked why shouldn't they be hashed.
Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
May 21, 2012, 07:45:27 PM
 #52

@mlawrence
The word: 'Encrypted' needs to be: 'Hashed'. Your right. Thanks guys.

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 21, 2012, 07:55:24 PM
Last edit: May 21, 2012, 08:24:13 PM by DeathAndTaxes
 #53

Quote
Hashed with three random of the most secure algorithms

So now that we got the encrypt vs hash confusion behind us I think the point was this sentence doesn't make much sense and isn't very professional.

First there is no reason to triple hash.  If you use a solid algorithm like SHA-256 the results can't be unhashed.  If SHA-256 is compromised in the future you could also require users to change password and re-hash.

Second plain hashing algorithms aren't a good idea for passwords.  The problem isn't that they can be reversed the problem is that they are fast.  Too damn fast. A mining farm can attempt to brute force tens of billions of hashes per second.  An algorithm like bcrypt, scrypt, or PBKDF2 are much better suited for protecting a password list.

Third no idea what you mean by three random secure algorithms?  You can't pick the algorithm randomly or even if you do you must provide it in the password file which doesn't provide any security.

Saying something like the following makes more sense:
Quote
Your password is never stored in plain text.   A secure hash of your password is used for authentication.  We can't recover any lost/forgotten passwords.  For technical details click here.

The here could be something like:
Quote
For the cryptographically oriented, the stored password hash is the output of bcrypt using workload=20 and the input is the user supplied password and a per account randomly generated 64 bit salt."

That would tell people how you are hashing (and doesn't help the attacker at all).
Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
May 21, 2012, 08:12:26 PM
 #54

SHA-256 is compromised in the future you could also require users to change password and re-hash.
Or you just hash them three times with 3 random methods out of a big algorithm pool to begin with so you don't have to re-hash and notify everybody.
Therefore, I don't register any email addreses, so I can never notify every user about a database comprimise.

Second plain hashing algorithms aren't a good idea for passwords.  The problem is they are too fast.
That's why each user has a unique code bind to there account to decrypt (when logging in) what hash methods have been used.
This would make the cracking of 3 different hash methods very hard since for each new account the password is hashed with different methods in a random order.
It's not hashed with just only md5 or something.

A mining farm can attempt to brute force tens of billions of hashes per second.
Not sure what you think, but I still think nobody would want to crack this and invest tons and tons of time, energy and money in hacking a small database containing passwords that are connected to a bitcoin address and some hashed ip's that are not even connected to the accounts.


Saying triple hashed w/ three "random" (is that even possible) algorithms doesn't make any sense.
Saying something like.  "Your password is never stored in plain text.   A secure hash of your password is used for authentication.  We can't recover any lost/forgotten passwords.  For technical details click here" makes a lot more sense.
I agree with you on this. I will change this at short notice.

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 21, 2012, 08:28:34 PM
 #55

I agree it is unlikely anyone would want to crack this but you you got a nice first project and maybe your next one involves coins or other sensitive details.  Like most developers you will work with what you know and trying dubious "roll your own security methods" may lead to you using them on other sites too.

Encrypting the hashing method provides no security.   If someone gets the password list they can decrypt it.   That is the entire reason for hashing.  Keeping the hashing method a secret isn't security.   Bitcoin puts its algorithms out in the open and it hasn't been broken.

Generally speaking "rolling your own encryption (or hashing)" is a bad idea.  I don't want to derail this anymore than I already have so I will leave it at that.   Still given the scope of the site there isn't any real risk (even if pwd were stored in plaintext).  For the record I made an account to check it out.
Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
May 21, 2012, 08:42:53 PM
Last edit: May 21, 2012, 09:13:17 PM by Grouver (BtcBalance)
 #56

Encrypting the hashing method provides no security.   If someone gets the password list they can decrypt it.   That is the entire reason for hashing.  Keeping the hashing method a secret isn't security.   Bitcoin puts its algorithms out in the open and it hasn't been broken.
How do you mean: "If someone gets the password list they can decrypt it. "
I mean sure, theoretically it's possible to crack one user his password hashed by sha512, whirlpool and ripemd320.
But practically it will take dozen of years to do so. And then you have what? A password connected to a bitcoin adress.
Maybe keeping the hashing methods a secret isn't providing security, but making sure each account it's password has a different way of being hashed makes it damn more difficult for the hacker to crack it.

For the record I made an account to check it out.
Thanks, feedback is appreciated.

EDIT:
You may also pm me if you don't want to answer in this thread.

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 21, 2012, 10:28:16 PM
 #57

How do you mean: "If someone gets the password list they can decrypt it. "
I mean encrypting the method is dubious because anyone who can obtain the list can also obtain the encryption key and decrypt the method.  The reason we hash passwords instead of encrypting them is because one must assume if the attacker was able to gain access to your password list he will be able to gain any encryption keys.

Encrypting the hash method is simply "feel good security".  Either attacker never gets password list (in which case the encryption protects something that wasn't stolen) OR the attacker gets the password list AND likely the encryption key and the first thing he does is decrypt the hashing method.

This is the same reason that salt is stored in plaintext.  The algorithm, salt, # of rounds (for some algorithms), IV, etc are non-secure pieces of information.   Good security assumes the attacker already knows them.  Hiding, obfuscating, or encrypting them doesn't make the system any stronger.



Quote
I mean sure, theoretically it's possible to crack one user his password hashed by sha512, whirlpool and ripemd320.
But practically it will take dozen of years to do so. And then you have what? A password connected to a bitcoin adress.
Maybe keeping the hashing methods a secret isn't providing security, but making sure each account it's password has a different way of being hashed makes it damn more difficult for the hacker to crack it.

The number of methods doesn't make it any harder.  Brute force cracking is solved by brute force.  It isn't any harder to brute force 3 algorithms which combined take 3x clocks cycles as it is to brute force a single algorithm which takes 3x clock cycles.  All that matters is the amount of computing power required to check a single key, and the weakness of the password.    As an alternative using something like bcrypt (instead of 3 random encrypted algorithms) would be simpler, peer reviewed, and would require the attacker to take 10,000x  (where x= 1 SHA-512 hash) clock cycles to perform one password check.  Multiple secret methods just add complexity without adding security.

For weak passwords it wouldn't take years, or even weeks it is more like days or hours. SHA, whirlpool, and ripemd320 are very fast algorithms (with throughput in billions of hashes per second.  A cracker with a quad GPU machine could brute force ~ 500 trillion possible passwords per day.  Half a quadrillion is every common/weak/known/leaked password plus exhaustive brute force search of all passwords 7 char or less (upper/lower/number/symbol) for site containing 50,000 accounts.

For the record it is mostly academic because there is little value in attacking the site however it is a good idea to separate strong security from "feel good security".  Adding extra complexity which doesn't make the attacker's job materially harder is "feel good security".  Someday you may write the next Bitcoinica. 

Seal
Donator
Hero Member
*
Offline Offline

Activity: 848
Merit: 1078


View Profile WWW
May 22, 2012, 12:00:29 AM
 #58

Quote
Encrypted with three random of the most secure algorithms

Saying triple hashed w/ three "random" (is that even possible) algorithms doesn't make any sense.
Saying something like.  "Your password is never stored in plain text.   A secure hash of your password is used for authentication.  We can't recover any lost/forgotten passwords.  For technical details click here" makes a lot more sense.
I agree with you on this. I will change this at short notice.

Yeah, I was getting at the wording as opposed to the technical details behind it. It didn't really make sense. My English is pretty terrible but I'm sure its grammatically incorrect too.


DefiDive - Filter the noise
A clean crypto asset management terminal
Grouver (BtcBalance) (OP)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
May 22, 2012, 07:23:46 AM
 #59

A cracker with a quad GPU machine could brute force ~ 500 trillion possible passwords per day
And why would bycrypt have any more resistance to a mining farm?
I mean if we start using mining farms to brute force (On what actually? You need to check if the outcome is correct right?) no hashing method is safe.

It isn't any harder to brute force 3 algorithms which combined take 3x clocks cycles as it is to brute force a single algorithm which takes 3x clock cycles.
Doesn't it take 3 times as long to decrypt a password that has being hashed 3 times?
Above you say it will take as long to decrypt a single hashed md5 password as a password that has being hashed with sha512, md5 and whirlpool.

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 22, 2012, 09:54:49 AM
Last edit: May 22, 2012, 10:26:29 AM by DeathAndTaxes
 #60

And why would bycrypt have any more resistance to a mining farm?
I mean if we start using mining farms to brute force (On what actually? You need to check if the outcome is correct right?) no hashing method is safe.

Of course bcrypt is safe against hashing farms. That is the whole point.  

As to why/how?  It isn't a single hash but instead a looping construct which performs multiple hashes using the prior hash's output as input for the next round.  The default workload is 10 which is 2^10= 1024 hashes.  Today the recommended minimum is 16 = 65,536 recursive hashes.   That significantly cuts the throughput of a hashing farm.  Instead of being able to check billions of potential passwords every second the same hardware can only check thousands.  

Another way to look at it is for a given password complexity and cracking hardware a sha-512 hash could be brute forced in 1 hour it would take multiple years using bcrypt(16).

It isn't any harder to brute force 3 algorithms which combined take 3x clocks cycles as it is to brute force a single algorithm which takes 3x clock cycles.
Doesn't it take 3 times as long to decrypt a password that has being hashed 3 times?
Above you say it will take as long to decrypt a single hashed md5 password as a password that has being hashed with sha512, md5 and whirlpool.

I think you are missing the point.  If you use n algorithms to acheive a total hashing time of 3x you haven't gained anything (other than needless complexit) over using a SINGLE good algorithm and iterating it enough times to take 3x time.

this:
Stored hash = RandomAlgo#1(RandomAlgo#2(RandomAlgo#3(password+sat)+salt)+salt)

isn't any more secure than this:
Stored hash = SHA512(SHA512(SHA512(password+sat)+salt)+salt)

All of the picking randomly algorithms from a pool of algorithms and then encrypting them is what is known as "feel good security".  It does nothing that simply using a single good algorithm multiple times doesn't do.  However the second issue is when dealing with massive cracking engines a multiplier of 3x (or 5x or 18x) doesn't provide any meaningful increase in resistance.  Since you seem hell bent on catching the "I must reinvent the wheel" train, your next though likely is to increase the number of iterations. So lets take this to the logic conclusion.

If you took the above idea, used a core hashing algorithm which was harder to brute force, ensured sufficient entropy in the salt (64 bit minimum), built in protection for intra-round key collision (which optimizes attacks using rainbow tables), designed it to store the version, hash, salt, and # of rounds in the output (which adds upgrade/compatibility), built in a whole bunch of error checking to reduce/prevent usage bugs which weaken the output, and allowed for changing the # of rounds as computers get faster .... well you would have just re-invented bcrypt.  In a decade or two when it was as exhaustively tested and analyzed as bcrypt you have a high confidence it was as secure as bcrypt. Grin  

Alternatively you could just use what has already been written a decade ago.

BTW bcrypt isn't the only option.  scrypt is a variant which is memory-hard throughput on GPU/FPGA restricted.  PBKDF2 (Password-Based Key Derivation Function) is a third common option which can use a variety of base hashing algorithms.
Pages: « 1 2 [3] 4 5 6 »  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!