A data set of any length and size that has been converted into a unique sequence of numbers and letters using a hash function. Altering any part of the data set will also alter its hash.
A hash function is a mathematical function that converts a data input of any arbitrary length and size into an output that is encrypted and has a fixed length and size. Once converted, the hash cannot be reverse-engineered to reveal the original input of data. This makes the data input more secure against decryption.
Whenever a new block is added to a blockchain, it is linked to the previous block through a cryptographic hash function. This hash function converts the transaction data from a block into a unique string of text (called a hash) that cannot be altered without also altering the previous block's hash value and the entire history of the blockchain.
This design enables blockchains to become immutable and tamper-proof because every block is intrinsically tied to the blocks that came before and after it.
A Transaction Hash or Tx Hash is a unique identifier of a cryptocurrency transaction that proves that the transaction was validated and added to the blockchain.
To learn more about transaction hashes visit our help page - What is a transaction hash/hash ID?