r/Bitcoin • • 2d ago

Question to cryptography experts

Apologies if I misuse terminology

I’m seeing lots of headlines about advancements in AI raising concerns about the encryption methodology used across the financial / broader economic system.

Question
Is the Bitcoin blockchain protocol more secure from an encryption standpoint than other, more traditional financial ledgers?

i.e. Is my HSBC current account more likely to get hacked than my Bitcoin wallet?

I know there have been hacks on cold storage hardware and central exchanges (Binance), but I’m ignoring these as they weren’t hacks on the blockchain itself.

Reason for question
I’m thinking maybe if certain Banks are proven to be crack able, there may be movement of capital into Bitcoin.

12 Upvotes

13 comments sorted by

8

u/stay_safe_and_calm 2d ago

Bitcoin uses ellipitic curve cryptography (ECC) which is also used in many other high security fields. Modern bank cards also use ECC but still many bank cards reley on the older RSA encryption.

The main difference is that bank cards use symetric encrytion the card and the bank share a common secret key, whereas Bitcoin uses public-key signatures where the private key is stored only on your side.

If your bank gets hacked and an attacker gets the secret key for your bank account than your bank account is not safe any more. So in principle the risk of an centralized key storage in your bank seem higher that your indivial private key genreation and storage for your Bitcoin wallet. On the other hand, if the bank gets hacked than you have a real chance to get your money back because of insurances.

2

u/Significant_Run9294 2d ago

Thank you!
This is extremely helpful!

Yes, in the UK deposits are secured by the Banks up to a certain ££ figure.

I’m wondering if Bitcoin could add a layer of protection for people in emerging markets where regulatory protection / insurance might not be so generous.

2

u/stay_safe_and_calm 2d ago

Here is a bit more precise AI answer how bank cards work:

Modern bank cards (EMV chip cards) use symmetric and asymmetric encrpytion (hybrid cryptography) to solve different security tasks during payment.

  1. Asymmetric Encryption (Authenticity Check)
  • What for? To prove that the card is genuine and not a counterfeit (offline authentication).
  • How it works: A secret private key is stored on the chip and never leaves it. The terminal verifies the card's digital signature using the bank's public key, which is authenticated via a certificate chain (RSA or Elliptic Curve Cryptography).
  • PIN Encryption: In some offline transactions, the entered PIN is also asymmetrically encrypted using the card's public key before being sent from the terminal to the chip.
  1. Symmetric Encryption (Transaction Security)
  • What for? To process the actual payment quickly and securely, and to protect it against tampering.
  • How it works: The card and the bank share a secret symmetric key (usually 3DES or AES). From this, a unique session key is derived for each individual payment.
  • Cryptogram: Using this session key, the chip calculates a unique verification code (known as an ARQC – Authorization Request Cryptogram) based on the amount, date, and a transaction counter. Only the bank can verify this code and authorize the payment.

Summary

MethodTypical AlgorithmsMain Task
AsymmetricRSA, ECCVerify card authenticity (certificates & signatures)
SymmetricAES, 3DESSecure payment data & generate unique transaction codes (cryptograms)

3

u/MiceAreTiny 2d ago

If all banks get hacked due to a fundamental failure of cryptographic security, I honestly doubt that there would be a lot of insurance available or applicable.

On the other hand, where would the bad actors move the money to, if all banks are compromised. You can not hack cash money out of a bank.

1

u/stanley_fatmax 23h ago

Banks are insured the way they are because the modern financial system doesn't allow massive theft, by design. There's no scenario where massive sums could be "lost" in the sense of being unrecoverable, as you hint at; where would they keep it? It's a closed system. Anywhere they could put it is somewhere it could be taken from.

5

u/poco 2d ago

When people talk about AI hacks, it isn't about whether encryption is strong enough, it is more about finding vulnerabilities in the software that implements the encryption.

We know that the algorithms that Bitcoin and banks use are quite strong and hard to break. However, they are running software that someone wrote and code has bugs. With ML models (AI) we can now search for those bugs more quickly and discover previously unknown bugs and exploits.

There is nothing inherently less secure because you have AI, it just makes it easier to automate and search for exploits. The exploits were always there.

It would be like having the best door lock and then discovering that the door installer put the hinge on the outside so that the pins can be removed. You didn't really unlock the door, you just broke in because they built the door poorly.

5

u/reflective_directive 2d ago

When people talk about AI hacks, it isn't about whether encryption is strong enough, it is more about finding vulnerabilities in the software that implements the encryption.

Lately people are talking about AI developing "new math", e.g. the proof of the Riemann hypothesis. If AI cracks ECC, that's not the same as finding a software vulnerability.

1

u/stanley_fatmax 23h ago

If AI cracks ECC

"If"

That's a huge if. There's nothing to suggest that'll happen. Proving theorems is very different from cracking hardened cryptography.

1

u/reflective_directive 23h ago

I do not think AI will crack ECC. I was trying to help OP understand the difference between cracking an algorithm versus cracking the code that implements an algorithm.

2

u/michalsrb 1d ago

IMHO this is more law/people question than encryption. The thing about Bitcoin is that it stands on the cryptography. If it works, nobody can take your money. If it fails, nobody can save you.

Traditional banks are more "soft" in this regard. You'll end up with "yes, someone hacked us and transfered all the money elsewhere, but legally it's still yours". So in that way traditional banks are safer. Though more likely you'll get "someone was voted into power who says you can't own money anymore, so it's not your money anymore" even without a hack.

1

u/Trystero_e49 7h ago

Not an expert. But my understanding of the latest 'rumours' is that bitcoin has a different risk than banks.

  1. Speed of change - Banks and other institutions can upgrade/change their encryption, and many are already doing this (https://www.thebanker.com/content/2cb69fd6-f734-4b00-b42a-c84da2eeb92e)
    Bitcoin would be much slower to move away from ECC (is this even possible for older dormant wallets? see next point)
  2. Target profile - if an algorithm was developed to break ECC in polynominal time (e.g. 1-2 years) it would not be worth forging my bank card (or even Elon Musks as there are other protections in place to acccessing and moving very large sums).
    It would be worth attacking dormant bitcoin wallets, some famous ones having billions of dollars of bitcoin. As these are dormant, any new encryption added to bitcoin would not be easy to apply.

So it's not really your bitcoin that is at risk, it's the dormant accounts. But if these got breached they could flood the market. Or they would have to be 'frozen' which would set an uncomfortable precedent.