Cryptography
Cryptography is the use of mathematics to secure information and communication. In crypto, it lets people prove ownership with digital signatures, link blocks together with hash functions, and verify transactions without trusting a central authority.
Blockchains rely mainly on two cryptographic tools. Hash functions such as SHA-256 turn any data into a fixed-length fingerprint. Changing even one character produces a completely different result, and the original input cannot practically be worked out from the output. Public-key cryptography gives each user a mathematically linked pair of keys: a private key that must stay secret and a public key that can be shared. Bitcoin and Ethereum use elliptic curve cryptography to create these key pairs.
When someone sends coins, their wallet uses the private key to create a digital signature for that specific transaction. Every node can check the signature against the public key and confirm that the owner approved it, without ever seeing the private key. Hashes also link each block to the one before it, so altering an old transaction would change every later hash and be detected.
A common misconception is that cryptocurrency transactions are encrypted or hidden. On most public blockchains they are not. Amounts and addresses are visible to anyone, and cryptography is used to prove authenticity rather than to keep data secret. Another misconception is that strong cryptography makes funds safe on its own. The math protects keys, but it cannot stop a private key or seed phrase from being stolen or handed over. It also does not prevent losses from smart contract bugs, bridge hacks, scams or the failure of a custodial service.