Cryptographic Primitives in Blockchain Technology