Cryptocurrency uses encryption and a peer-to-peer network to generate digital currency and verify transactions on a public ledger called a blockchain. Transactions are recorded on the blockchain through a process called mining, which also creates new coins. Cryptography protects transactions from theft or alteration and verifies users' identities on the decentralized peer-to-peer network without a central authority.