# Hash

Intermediate
Community Submission - Author: Henrique Erhardt

In cryptography, the word hash refers to the output produced by a hash function after a piece of data is submitted (mapped) through it. Other than simply hash, the output produced by hash functions may also be referred to as hash value, hash code, or digest.

To better understand what a hash is, it’s worth discussing what are hash functions and how they work.

Hash functions are mathematical algorithms that convert an input value of any size into an output (hash) of fixed size. In most cases, the output consists of a hexadecimal number. This means the hash is often denoted as a combination of numbers (0 to 9) and letters (a to f).

For instance, if we use the word “Binance” as the input value, and map it through an SHA-256 hash function, the output value (or hash) returned will be:

f1624fcc63b615ac0e95daf9ab78434ec2e8ffe402144dc631b055f711225191

Note that it doesn’t matter how many times we perform this action, the output will always be the same (as long as the input doesn’t change).

On the other hand, any minor change to the input will cause the hash function to return a completely different hash as the output. For example, if we submit the word “binance” instead of “Binance” we would have the following hash as a result:

59bba357145ca539dcd1ac957abc1ec5833319ddcae7f5e8b5da0c36624784b2

Hashes are useful for verifying the validity of certain information, without revealing what the information is. In practice, hash functions may be applied to various scenarios. A few use cases include database lookups, large files analyses, and data management.

When combined with cryptographic techniques, we have the so-called cryptographic hash functions. These are extensively used in information-security and are an essential part of most blockchain networks.
For instance, the Bitcoin blockchain has many operations that involve hashing, and these are crucial in the process of mining.
อภิธานศัพท์

A digital currency that is secured by cryptography to work as a medium of exchange within a peer-to-peer (P...

นิยามเต็ม
อภิธานศัพท์

The science of using mathematical theories and computation in order to encrypt and decrypt information.

นิยามเต็ม
อภิธานศัพท์

A sequence of unambiguous instructions used for the purpose of solving a problem.

นิยามเต็ม
อภิธานศัพท์

Refers to a special feature that is used to create smart contracts that are able to modify payment channels.

นิยามเต็ม
อภิธานศัพท์

Generation of a new cryptocurrency which occurs in a variety of different ways, depending on parameters spe...

นิยามเต็ม
อภิธานศัพท์

The act of reverting an encryption process so that unreadable data (ciphertext) can be converted into reada...

นิยามเต็ม
อภิธานศัพท์

A systematic analysis to evaluate how safe a system, smart contract, or blockchain is agaisnt attacks or te...

นิยามเต็ม
อภิธานศัพท์

The speed at which a computer or mining hardware is able to calculate new hashes. Usually measured in hashe...

นิยามเต็ม
อภิธานศัพท์

A commodity, asset or currency that can be saved, retrieved and exchanged at a future date, without sufferi...

นิยามเต็ม