Difference between revisions of "Hash Function"

From DefiLlama
Jump to navigation Jump to search
(Created page with "A specific algorithm that maps data of any size to a fixed size output, also referred as a cryptographic function since they are often used for encryption and other security purposes where it cannot be reversed through computation alone; hashing takes an inputted string/file/document and outputs the same thing every single time so long as its original content has not been altered even if just by one letter or space character. This process is irreversible, making working...")
 
 
Line 1: Line 1:
A specific algorithm that maps data of any size to a fixed size output, also referred as a cryptographic function since they are often used for encryption and other security purposes where it cannot be reversed through computation alone; hashing takes an inputted string/file/document and outputs the same thing every single time so long as its original content has not been altered even if just by one letter or space character. This process is irreversible, making working backwards to discover what was used next nearly impossible unless someone had access to the private key associated with each transaction on blockchain networks containing these hashes written into their blocks instead. Every cryptocurrency's hash algorithm must meet certain requirements before being approved into existence.
A hash function is a kind of cryptographic function which, given an arbitrary amounts of bits as input, outputs a fixed amount of bits. Hash functions are '''one-way functions''', this means that it is computationally easy to obtain the output given the input, but it is '''infeasible''' to obtain the input given the output. Hash functions are also designed in such a way that even if only 1 bit of the input is modified, the output changes completely and is totally unrelated to the previous one.  
 
Cryptocurrencies make wide use of hash function and they are at the core of network security


== Sources: ==
== Sources: ==
https://fintechmagazine.com/financial-services-finserv/140-blockchain-and-crypto-words-ultimate-z-glossary
https://fintechmagazine.com/financial-services-finserv/140-blockchain-and-crypto-words-ultimate-z-glossary
[[Category:Glossary]]
[[Category:Glossary]]

Latest revision as of 21:04, 28 April 2022

A hash function is a kind of cryptographic function which, given an arbitrary amounts of bits as input, outputs a fixed amount of bits. Hash functions are one-way functions, this means that it is computationally easy to obtain the output given the input, but it is infeasible to obtain the input given the output. Hash functions are also designed in such a way that even if only 1 bit of the input is modified, the output changes completely and is totally unrelated to the previous one.

Cryptocurrencies make wide use of hash function and they are at the core of network security

Sources:

https://fintechmagazine.com/financial-services-finserv/140-blockchain-and-crypto-words-ultimate-z-glossary