Cryptography is a technique or protocol that secures information from any third party during communication.
Decryption: The inverse process of encryption, converting a random sequence of bits into plain text.
Cipher:
Cryptography can be broken down into three different types:
Most of the time blockchain uses public-key cryptography, also known as asymmetric-key cryptography.
Public key cryptography uses both public key and private key in order to encrypt and decrypt data. The public key can be distributed commonly but the private key can not be shared with anyone.
The public key is used as the address of the wallet and is visible globally, i.e. it is visible to any participant.
The private key is a secret value and is used to access that address data and authorize any of the actions for the ‘address’, which are generally transactions.