ECDSA secures Bitcoin and Ethereum transactions using elliptic curve cryptography. Learn how it works, why Bitcoin uses SHA-256 and Ethereum uses Keccak-256, and why randomness is critical to its security.