Cryptography

Introduction to Blockchain

Nitesh Malviya
August 27, 2020 by
Nitesh Malviya

What is blockchain?

A blockchain is a record of digital transactions. It is a distributed software network which can function both as a digital ledger and as a mechanism allowing the secure transfer of assets without an intermediary party. It is the technology that allows exchanging the units of value digitally. 

Currently, cryptocurrency is the widely-used application of blockchain technology.

Learn Applied Cryptography

Learn Applied Cryptography

Build your applied cryptography and cryptanalysis skills with 13 courses covering hashing, PKI, SSL/TLS, full disk encryption and more.

How blockchain works

Blockchain makes a record of each transaction. Each transaction is secured by a digital signature. Every time when a transaction is completed, it generates a hash. 

Basically, a hash is a string of numbers and letters. Hash of the previous transaction is used for generating the hash for a newer transaction. Even a small change in transaction can result in creating a completely new hash. Each transaction is registered in order in which they occur. 

In blockchain, the order of the transaction is very important. The nodes check the hash to ensure that the transaction has not been changed. If the majority of the nodes approves the transaction, then it is written into a block. A blockchain updates itself every 10 minutes.

Nodes

Each computer connected to the blockchain network is called a node. Nodes are connected with the blockchain network through the client. When node gets connected with the blockchain, a copy of the blockchain data gets downloaded into the system. Then the node comes in sync with the data of the latest blocks on blockchain.

Applications of blockchain

The below applications are the widely-used application of blockchain:

  1. Sharing of medical data securely
  2. Cryptocurrency
  3. Cross-border payments
  4. Security of personal identity
  5. Tracking system for anti-money laundering
  6. Keeping records of property
  7. Smart contracts
  8. For voting

Disadvantages of the current monetary system

Due to the below disadvantages of the current monetary system, blockchain is being considered for digital transactions.

  1. Cash can only be used in low amount transactions
  2. Hoarding cash leads to shortage of currency from the market
  3. Much waiting time during the transaction process
  4. Third-party verification and execution of transactions makes it more complex
  5. High charges for transactions, which makes the process expensive
  6. Cross-border payments are too time-consuming and charge the users heavily

Advantages of blockchain

  1. Blockchain allows transactions to get verified without depending on third parties
  2. The data of each block in the blockchain are appended only to type, so they cannot be altered or deleted
  3. Data ledgers are protected using cryptography
  4. No transaction cost makes processing less expensive

Disadvantages of blockchain

  1. Blockchain is appending type only, so it is difficult to modify the data once it gets entered
  2. User gets a private key to operate. If they lose it, access to data in the block is lost and there is nothing they can do about this
  3. Scalability issues
  4. Complexity in design and maintenance

Types of blockchain

  1. Public: This type of blockchain is also called permissionless blockchain. Everyone can be a part of this blockchain. Each can be run as a node by mining blocks or by making transactions in the blockchain. For example: bitcoin mining.
  2. Private: This type of blockchain is also called permissioned blockchain. There are restrictions in this blockchain. One or more than one organization can run this. Only specific members of the organization can be part of this. Examples: Ripple, Hyperledger.
  3. Consortium: This type of blockchain is also called semi-decentralized blockchain. It is controlled by many organizations. The members of the organization have rights to participate in this by running it as a full node or by mining. Examples: R3, EWF.

Why blockchain is important

  1. Security: The first concern for all kinds of online transactions is security. A very high level of security is provided by the blockchain, which makes it impossible to rupture for anyone because of the decentralized nature of blockchain.
  2. Transparency: The blockchain technology is very transparent, as all the transactions are visible to all the members from the beginning. It reduces the chances for any of the variations in the system.
  3. No intermediary party involvement: In this technology, there are no chances of mediators or brokers in any of the transactions.
  4. Inexpensive: Blockchain technology is the most feasible commercial model available now in the world.

There are much more important features offered by blockchain technology. For example: the time of transaction is shorter; increased efficiency in finance; fraud protection for business; scope of innovation; numerous applications; smart contracts; high flexibility of usage; prevention of data leaks and hacking.

Future and scope

Blockchain technology has a bright future in other sectors, aside from the financial sectors. These possible future pairings include:

  1. Blockchain in digital advertising
  2. Blockchain in cybersecurity
  3. Blockchain will remove the requirement of third parties
  4. Digital currencies will be provided by the governments
  5. Blockchain in forecasting
  6. Blockchain in cloud storage
  7. Managing global trade with blockchain technology

A word on Bitcoin

Bitcoin is a cryptocurrency making use of blockchain technology. It was invented in 2008 by Satoshi Nakamoto and its implementation started way back in 2009. Bitcoin is a public-type blockchain. It can be issued in any fractional unit and has a decentralized distribution system. There is no need for a third party or middleman Bitcoin transactions.

Learn Applied Cryptography

Learn Applied Cryptography

Build your applied cryptography and cryptanalysis skills with 13 courses covering hashing, PKI, SSL/TLS, full disk encryption and more.

 

Sources

  1. Introduction to Blockchain technology | Set 1, GeeksforGeeks
  2. The Future Scope of Blockchain Technology, Zarantech
  3. Features of Blockchain, GeeksforGeeks
  4. Why Blockchain is Important? 21 Reasons That Shows How Blockchain Transforms the World, upGrad
  5. Five Reasons Why Blockchain Is Key For The Future Of Technology, Inc42
Nitesh Malviya
Nitesh Malviya

Nitesh Malviya is a Security Consultant. He has prior experience in Web Appsec, Mobile Appsec and VAPT. At present he works on IoT, Radio and Cloud Security and open to explore various domains of CyberSecurity. He can be reached on his personal blog - https://nitmalviya03.wordpress.com/ and Linkedin - https://www.linkedin.com/in/nitmalviya03/.