SHA hashing algorithms and their role in PZM Cash

ZYX NETWORK
2 min readMay 25, 2020

--

Greetings! πŸ‘‹πŸ» In this post, we will tell you about hashing algorithms and their role in PZM Cash.

πŸ“Ÿ Signatures in PZM Cash are hashed using the time-tested SHA256 cryptographic hashing algorithm, built on the Merkle-Damgor structure.

❓ What is a hashing algorithm, a hash, and what role do hashing play in the PZM Cash system? Let’s figure it out.

πŸ“± A hash algorithm is a mathematical function that compresses data to a fixed size. Hashing is also called encryption. A hash is a number that is generated from text using a hash algorithm. Typically, this number is less than the original text. The same hash value cannot be used for different text. The slightest change in the text will completely change the value of the hash. This is called the avalanche effect.

πŸ“±πŸ“² When it is necessary to compare two files, instead of character-by-character comparison, it is easier to first calculate their hashes and compare them. In the blockchain, this is extremely useful when storing and verifying passwords. How? It is enough to compare the hash of the set password and the hash of the entered password to make sure that the correct password is entered. The bonus is that the password itself is not stored in the database, which is very important for the security of the PZM Cash system.

πŸ’Ύ SHA is a secure hashing algorithm. There are several versions of the algorithm: SHA-1 and SHA-2. The main difference between them is to create a hash from the source data and the signature length. SHA-1 is a 160-bit hash, SHA-2 is a β€œfamily” of hashes and can have different lengths. PZM Cash uses the most popular 256-bit version.

πŸ’Ύ Today, the use of SHA-1 as a hash algorithm is not recommended for signing certificates. The main problem with SHA-1 is the known vulnerability of the algorithm. It makes possible attacks leading to conflict. Thanks to attacks, attackers can create additional certificates with the same signature. To work with Microsoft platforms, all SHA-1 SSL certificates must be replaced with SHA-256 (SHA-2).

πŸ“£ For more information, visit our website: https://pzmcash.com

πŸ”” Like, repost and subscribe to stay updated on new interesting posts!

--

--

ZYX NETWORK
ZYX NETWORK

Written by ZYX NETWORK

ZYX NETWORK is a decentralized PoS cryptocurrency with the payment function in a fast-growing ecosystem, provided by the economic motive with own blockchain

Responses (1)