Bitcoin Forum
May 02, 2024, 11:15:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is SHA256 obsolete and is it enough to guarantee security?  (Read 189 times)
brainactive (OP)
Member
**
Offline Offline

Activity: 159
Merit: 72


View Profile
May 31, 2021, 08:39:51 AM
 #1

Do you guys think SHA256 obsolete and is it enough to guarantee security?
1714691711
Hero Member
*
Offline Offline

Posts: 1714691711

View Profile Personal Message (Offline)

Ignore
1714691711
Reply with quote  #2

1714691711
Report to moderator
1714691711
Hero Member
*
Offline Offline

Posts: 1714691711

View Profile Personal Message (Offline)

Ignore
1714691711
Reply with quote  #2

1714691711
Report to moderator
1714691711
Hero Member
*
Offline Offline

Posts: 1714691711

View Profile Personal Message (Offline)

Ignore
1714691711
Reply with quote  #2

1714691711
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
mindrust
Legendary
*
Offline Offline

Activity: 3248
Merit: 2424



View Profile
May 31, 2021, 08:41:44 AM
 #2

Do you guys think SHA256 obsolete and is it enough to guarantee security?

SHA256 is used on almost everything that you use in your daily life that includes your credit card transactions or your bank account's password. The whole world would collapse if SHA256 wasn't safe enough. In the future this might change but for now It is as safe as it gets.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6724


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 31, 2021, 09:49:52 AM
 #3

Why do you think that? There are no collisions reported against SHA256 and its 2^256 output space is far too large for any kind of brute force or specialized search methods.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BlackHatCoiner
Legendary
*
Online Online

Activity: 1512
Merit: 7340


Farewell, Leo


View Profile
May 31, 2021, 12:47:30 PM
Last edit: May 31, 2021, 03:10:24 PM by BlackHatCoiner
 #4

Do you guys think SHA256 obsolete and is it enough to guarantee security?

It's too secure. The number 2256 may not say much, but an example I had seen on a video might give you a taste.

2256 is 232 multiplied with itself 8 times. To round things up, let's just use 4,000,000,0008. A GPU can calculate a little less than 1 billion hashes, but let's assume that you've bought enough and have crammed your computer with them to achieve the 4 billion hashes per second.

So the first 4 billion will represent the hashes per second per computer.

(4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion)

The next 4 Billion would be the total computers like the one above. Google owns some millions of servers that are much less powerful than that computer, but let's say that they replaced them all with a machine like this, referenced as KiloGoogle. Four billion machines would mean about a thousand copies of Google's possession.

(4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion)

There are around 8 billion people one Earth. Picture half of them owning a KiloGoogle.

(4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion)

Imagine that on our Milky Way, there were 4 billion copies of the Earth where half people on each Earth had their personal KiloGoogle.

(4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion)

Let's assume the existence of 4 billion Milky Ways with these characteristics. We've now reached 2160 per second.

(4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion)

Four billion seconds are around 126 years and if you also multiply that with 4 billion, you get 507 billion years, which is about 37 times the age of the universe.

(4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion) (4 Billion)



So even if 4 billion people used their KiloGoogle on 4 billion different Earths of 4 billion different Milky Ways, it'd take 507 billion years to cover the 1/4,000,000,000 of the total hashes. I think it's secure.

[Link for the video: How secure is 256 bit security?]

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BrewMaster
Legendary
*
Offline Offline

Activity: 2114
Merit: 1292


There is trouble abrewing


View Profile
May 31, 2021, 02:53:01 PM
Merited by ABCbits (1)
 #5

to say SHA256 is secure by only focusing on its digest size is a bit misleading because the security of it mainly comes from its algorithm being secure.

to give you an example SHA1 is not insecure because of it's 160 bit size (otherwise RIPEMD160 would have also been insecure) but instead it is unsafe because of its weak algorithm that could be exploited for certain attacks.

SHA256 is the same. being 256-bit is part of the reason for its security but also its algorithm is secure.

There is a FOMO brewing...
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4165


View Profile
May 31, 2021, 04:01:59 PM
 #6

SHA256 is used on almost everything that you use in your daily life that includes your credit card transactions or your bank account's password. The whole world would collapse if SHA256 wasn't safe enough. In the future this might change but for now It is as safe as it gets.
Not really. SHA256 isn't used in everything; for example, passwords usually uses some KDF to provide some resistance against bruteforcing. In comparison, if we figure out P = NP, the cryptography and possibly most things on earth will fail. Not really related to topic but just a nice tidbit.

Anyways, the nature of how Bitcoin uses SHA256 makes the issue not as serious as it seems. The possibility of collision or preimage attack would introduce forks by blocks or TXID with different content but same hash, tricking people into signing unintended transactions, etc. SHA256 is strong as it is currently, the complexity for something like this is still out of reach.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
odolvlobo
Legendary
*
Online Online

Activity: 4298
Merit: 3214



View Profile
June 01, 2021, 07:20:39 AM
 #7

"Any headline that ends in a question mark can be answered by the word no." -- Ian Betteridge

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
Pages: [1]
  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!