Creating the Block class Open your favorite code editor and create a main.py file . This will be the file we’ll work with. Now, import hashlib, a module that lets us create one-way encrypted messages. Cryptography techniques like hashing make Blockchain create secure transactions.3 Kas 2021