Cryptography is a method used for encrypting outgoing information. encryption is based on mathematics. In blockchain technology, encryption is used to create public and private keys and transaction signatures in the network. Public keys are used for receiving assets and private keys are used for sending assets and creating transaction signatures.