Encryption is a mechanism for keeping data safe. In this procedure, the data is encoded to some degree before being transferred out of a network by the sender. It will only be decoded by the recipient. This method is useful in Blockchain because it increases the overall security and validity of blocks, making them more stable.
Encryption basically means changing the data in a form which other can’t understand. you basically need a key for that which will encrypt the data and then decrypt the data.
In Blockchain encryption is really a great factor for the security of data. As you know Blockchain is not centralized. it’s a distributed ledger so obviously people don’t want that other people can see their personal data. here the concept of encryption came.