Hash functions; Manipulate input data according to a mathematical formula. The output is unique to the input data. The hash if using say SHA-256 is one way. Meaning, a given input creates a unique output. However, given just that unique output, it is, at this time, impossible to derive the input data that created it. Also if I understand it correctly; a well designed hash will always create an output of X characters no matter the size of the input data.
A hash on a blockchain is created with each transaction, the inputs of that unique hash include the hash from the previous (Iām not sure of this) transaction or block, the private key of the initiator of the transaction plus the public key of the recipient and the transaction information.
Once accepted by peer nodes it is immutable.
Collision resistant; this link provides a succinct definition; https://en.wikipedia.org/wiki/Collision_resistance , however, after it states the clearly understandable; āa hash function H is collision-resistant if it is hard to find two inputs that hash to the same output; that is, two inputs a and b where a ā b but H ( a ) = H ( b ).[1]:136ā The remaining information is mostly a supersonic jet passing overhead ā¦ā¦ It is not crystal clear to me what makes for good collision resistance nor the consequences. Hash functions; Manipulate input data according to a mathematical formula. The output is unique to the input data. The hash if using say SHA-256 is one way. Meaning, a given input creates a unique output. However, given just that unique output, it is, at this time, impossible to derive the input data that created it. Also if I understand it correctly; a well designed hash will always create an output of X characters no matter the size of the input data.
A hash on a blockchain is created with each transaction, the inputs of that unique hash include the hash from the previous (Iām not sure of this) transaction or block, the private key of the initiator of the transaction plus the public key of the recipient and the transaction information.
Once accepted by peer nodes it is immutable.
Collision resistant; this link provides a succinct definition; https://en.wikipedia.org/wiki/Collision_resistance , however, after it states the clearly understandable; āa hash function H is collision-resistant if it is hard to find two inputs that hash to the same output; that is, two inputs a and b where a ā b but H ( a ) = H ( b ).[1]:136ā The remaining information is mostly a supersonic jet passing overhead ā¦ā¦ It is not crystal clear to me what makes for good collision resistance nor the consequences.