Understood hashing algorithms and asymmetric encryption algorithms

 

2018 block chain heard, Cong from this contract to the intelligence; from monetary encryption to block chain; from Bitcoin wallet to ...... Today we'll learn some new knowledge.

1. What hashing algorithm?

Hash algorithm called hash algorithm is to map the binary values ​​of arbitrary length binary value of a short fixed length, small binary value called the hash value. Its principle is very simple, is to convert some transaction information into a fixed-length string.

This substrings have some features:

1. The same information is also the same string. 2. The information does not affect similar to the same string. 3. can generate a myriad of information, but the type of string is certain, it is irreversible.

Let's take an example to understand this: if we want to search for a picture, in the absence of manual annotation of the situation, you want to map to a huge library and search map is a huge and difficult workload.

Guess you like

Origin blog.csdn.net/Doudou_Mylove/article/details/104398277