Contents

- 1 (1) What is the use of hash function in blockchain
- 2 (ii) What is the relationship between hash and random number in the blockchain
- 3 ㈢ What is the hash value in the blockchain
- 4 ㈣ What is the blockchain hash algorithm
- 5 ㈤ What is the function of the hash algorithm in the blockchain
- 6 ㈥ What is the blockchain hash function used for? The current hash has been cracked.
- 7 ㈦ What are the characteristics of the hash algorithm in the blockchain
- 8 ㈧ Is the hash blockchain deceptive? Don’t let more people be deceived.
- 9 ㈨ What is the hash algorithm in the blockchain
- 10 ㈩ What is the relationship between blockchain and Hashcoin

## (1) What is the use of hash function in blockchain

Hash function, also known as hash function, hash algorithm, is a kind of small digital “fingerprint” created from any kind of data ” (also called a summary). What does that mean? That is, you input data of any length and any content, and the hash function outputs a fixed-length, fixed-format result, which is similar to the fingerprint of your input data. Whenever the input changes, the fingerprint must change. Different content, the fingerprint obtained by the hash function is different. This is the hash function.

In the distributed ledger, in order to ensure data integrity, the hash value will be used for verification. For example, for a transaction and a page of ledger (that is, the concept of a block), a hash is used to generate a digest, which means that the transaction information of the entire block cannot be tampered with (that is, the digest cannot be kept unchanged after tampering with the data).

The original definition or narrow understanding of blockchain is the form of block + chain. This chain is linked by hash. Each block may have many transactions, and the entire block can be The hash function generates summary information, and then stipulates that each block needs to record the summary information of the previous block, so that all blocks can be connected into a chain.

If the data of a certain block in the history is changed, it means that the digest value (that is, the hash value) of this block will change, then the hash of the previous block recorded in the next block will be changed. Corresponding modifications must also be made, and so on. That is to say, if the historical records are to be modified, all records must be modified from that point in order to ensure the legitimacy of the ledger. The hash function improves the tampering of the ledger. difficulty.

Lianqiao Education Online’s Xueshuo Innovative Blockchain Technology Workstation is the only approved “Blockchain Technology Workstation” carried out by the School Planning and Construction Development Center of the Ministry of Education of China. Professional” pilot workstation. The professional station is based on providing students with diversified growth paths, promotes the reform of the combination of professional degree research, production, study and research, and builds an applied and compound talent training system.

## (ii) What is the relationship between hash and random number in the blockchain

The hash value of the blockchain is a piece of code in a Bitcoin transaction, which can be used to query The number of confirmations of Bitcoin on the block, the fees paid by individuals, platforms, and wallets to miners, and the congestion of the network can also be checked

## ㈢ What is the hash value in the blockchain

Hash in blockchain is the process of converting an input string of arbitrary length into a password with a fixed output. The hash value is not a “password” and the original data cannot be retrieved by decrypting the hash, it is a one-way encryption function.

In a blockchain, each block has the hash of the previous block. When any data in the current block is changed, the hash of the block will be changed, which will affect the previous block as it has the address of the previous block. For example if there are only two blocks, one is the current block and one is the parent block. The current block will have the address of the parent block, and if you need to change the data in the current block, you will also need to change the parent block.

A cryptographic hash function needs to have the following key properties to be considered useful

1. Each hash The values are all different.

2. For the same message, always generate the same hash value.

3. It is impossible to determine the input based on the hash value.

4. Even a small change to the entire hash of the input will be changed.

## ㈣ What is the blockchain hash algorithm

Hash algorithm, also known as “hash”, is one of the four core technologies of blockchain. It is an algorithm that can calculate a string of fixed length (also known as message digest) corresponding to a digital message. Since a piece of data has only one hash value, the hash algorithm can be used to verify the integrity of the data. In terms of fast lookup and application of encryption algorithms, the use of hash algorithms is very common.

In the Internet age, although the distance between people is closer, the problem of trust is more serious. The technical architecture of the existing third-party intermediary organizations is private and centralized, and this model can never fundamentally solve the problems of mutual trust and value transfer. Therefore, blockchain technology will use the decentralized database architecture to complete the endorsement of data mutual trust and realize a big step in global mutual trust. In this process, the hash algorithm plays an important role.

Hash algorithm is a one-way cryptographic mechanism in the blockchain to ensure that transaction information is not tampered with. The blockchain encrypts the transactions in a transaction block through a hash algorithm and compresses the information into a hash string consisting of a string of numbers and letters. The hash value of the blockchain can uniquely and accurately identify a block. Verifying the authenticity of the block��, it is only necessary to simply calculate the hash value of this block. If there is no change, it means that the information on this block has not been tampered with.

Lianqiao Education Online’s Xueshuo Innovation Block Chain Technology Workstation is the only “Smart Learning Workshop 2020- Xueshuo Innovation Workstation” carried out by the School Planning and Construction Development Center of the Ministry of Education of China Approved “Blockchain Technology Professional” pilot workstation. The professional station is based on providing students with diversified growth paths, promotes the reform of the combination of professional degree research, production, study and research, and builds an applied and compound talent training system.

## ㈤ What is the function of the hash algorithm in the blockchain

The blockchain encrypts the transaction information in a transaction block through the hash algorithm, and compresses the information into a hash string consisting of a string of numbers and letters.

Jinwowo Group analyzes the role of its hash algorithm as follows:

The hash value of the blockchain can uniquely and accurately identify a block, and any node in the blockchain can calculate a simple hash The hash value of this block is obtained, and the calculated hash value has not changed, which means that the information in the blockchain has not been tampered with.

## ㈥ What is the blockchain hash function used for? The current hash has been cracked.

Hash (hash) algorithm and MD5 are all one-way hash functions. The difference is that the hash algorithm results of different source data may be the same, but MD5 will not be the same. That is: hash is a many-to-one function, and md5 is a one-to-one function. MD5 is generally used for data reliability verification, and sometimes for one-way encryption of passwords (but now this encryption result can be cracked).

## ㈦ What are the characteristics of the hash algorithm in the blockchain

Hash algorithm can be regarded as a small computer program, regardless of the size and type of input data, it Both convert input data into fixed-length output. The hash algorithm can only accept a single piece of data input at any time, and rely on the input data to create a hash value.

There are different hash algorithms according to the length of the final hash value.

The cryptographic hash algorithm used in the blockchain has the following characteristics:

1. Can quickly create a hash value for any type of data

2. Deterministic

3. Pseudo-random

4. One-way function

5. Anti-collision

## ㈧ Is the hash blockchain deceptive? Don’t let more people be deceived.

I don’t know if it’s a deception or not. Anyway, they’re bragging about it. They keep calling to buy from them. There should be a lot of people, I didn’t buy it anyway.

## ㈨ What is the hash algorithm in the blockchain

What is the hash algorithm? How to ensure the fairness of mining?

Hash algorithm is a cryptographic algorithm that can only be encrypted but not decrypted. It can convert information of any length into a string of fixed length.

This string has two characteristics:

1. Even if the input value changes only a little, the output hash value will be very different.

2. Only the exact same input value can get the exact same output value.

3. There is no law between the input value and the output value, so the input value cannot be calculated from the output value. To find the specified output value, you can only use the enumeration method: constantly change the input value, and find the output value that meets the conditions.

The hash algorithm ensures that Bitcoin mining cannot reverse the results. Therefore, the miners continue to perform calculations, essentially brute-forcing the correct input value, and whoever finds it first will be rewarded in Bitcoin.

## ㈩ What is the relationship between blockchain and Hashcoin

Digital currency is an application of blockchain.

Blockchain is a new computing paradigm and distributed infrastructure, using fast-chain data structure, distributed node consensus algorithm, cryptography and smart contracts based on automated script code to produce, verify, store and transfer data. It can also be said that blockchain is a distributed ledger technology that can provide a decentralized trust mechanism in a trustless environment, allowing multiple participants to conduct secure and trusted transactions without intermediaries.

The application fields of blockchain include digital currency, token, finance, anti-counterfeiting traceability, privacy protection, supply chain, entertainment, etc. With the popularity of blockchain and Bitcoin, many related top domain names have been registered , had a relatively large impact on the domain name industry.

0

## Comments (No)