2. Blockchain Primitives: Cryptography and Consensus