---
title: "Which cryptographic algorithm is used in Blockchain?"  
description: "Which cryptographic algorithm is used in Blockchain?"  
author: "Sandra Emily"  
published: 2022-05-19  
canonical: https://answers.mindstick.com/qa/97496/which-cryptographic-algorithm-is-used-in-blockchain  
category: "troubleshooting"  
tags: ["troubleshooting", "blockchain"]  
reading_time: 1 minute  

---

# Which cryptographic algorithm is used in Blockchain?

Which cryptographic [algorithm](https://www.mindstick.com/blog/119/implementing-cryptography-in-c-sharp-dot-net-by-using-sha1-algorithm) is used in Blockchain?

## Answers

### Answer by Hitesh Vohra

- The **SHA-256 hashing algorithm** is used in the blockchain. The SHA-256 Hashing method was developed by the National Security Agency (NSA) in the United States.
- The Secure Hash Algorithm (SHA), or Secure Hash Algorithm, is the most extensively used cryptographic hash function, with several versions such as SHA1, SHA256, MD5, and SHA512. Each cryptographic hash function has a distinct function, which is as follows:
- The Message-Digest algorithm (MD5) is used to generate a 128-bit hash value.
- NIST customised SHA1 and published it in line with FIPS, or Federal Information Processing Standard.
- The SHA256 function uses 32-bit words to compute hash values, and the message digest is 256 bits
- The SHA512 function uses 64-bit words to compute hash values, while the message digest is 512 bits.

\

**Read More[: List the key features of blockchain?](https://answers.mindstick.com/qa/97490/list-the-key-features-of-blockchain)**


---

Original Source: https://answers.mindstick.com/qa/97496/which-cryptographic-algorithm-is-used-in-blockchain

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
