Homework on Hash Functions - Questions

1.A data randomizer which gives you a unique output based on your given input.
2.SHA-256 is the commonly used hash in cryptocurrency, which is impossible to crack as the small changes input will change the whole output.
3.Uniqueness of each outputs based on each inputs, in short, different input must have a different hash outputs, (not the same).

1 Like
  1. A function that produces a unique digital fingerprint of any input data, that can’t be reversed.
  2. Hash functions are used to verify integrity of data
  3. It means that two or more inputs should to produce the same output
1 Like

1.It is digital fingerprint(output) of input.

  1. Cryptographic hash functions are widely used in cryptocurrencies to pass transaction information anonymously

  2. hash function is collision resistant if it is hard to find two inputs that hash to the same output;

1 Like
  1. Describe hash functions with your own words
    A hash function is a digital fingerprint.
  2. How are hash functions used in cryptocurrencies like bitcoin? Hash functions are used to create keys.
  3. What does it mean when we say that hash functions need to be collision resistant? A hash function is collision-resistant if it is hard to find two inputs that hash to the same output.
1 Like
  1. Describe hash functions with your own words
    Hash functions are unilateral equations which produce unique outputs similar as fingerprints.

  2. How are hash functions used in cryptocurrencies like bitcoin? (Try to research this on your own, we will cover this later in the course but challenge yourself and see if you can find information on this already now).
    Hash functions in Bitcoin: data’s are stored in “blocks”. Each block having its unique hash provided thanks to an algorithm (for Bitcoin SHA 256. Any change in the chain of blocks will be detected as a different block, these change will breach the chain of blocks and will therefore not validate the transfer of datas….here: Bitcoin currency.

  3. What does it mean when we say that hash functions need to be collision resistant? (We didn’t use the term “collision resistant” in the lecture, but you will easily find this on Google, we add this question intentionally to make you research information on your own, that’s how you learn best).

Collision in functions: a function that can have different inputs providing the same output.
To avoid collision and therefore securing the uniqueness of each hash, it needs to be collision resistant.

1 Like
  1. a hash function is a “one way” function that gives a digital fingerprint to a set of inputs and that is very difficult or impossible to reverse to find the original inputs.
  2. hash functions are used to create new transactions into the blockchain through mining
  3. collision resistance is a property of cryptographic hash functions of finding two inputs that hash to the same output. Any time you have more inputs than outputs you risk these collisions
1 Like
  1. Describe hash functions with your own words

Hash functions are one way functions where you can go from input to output but you cannot go from output to input. Each unique inout gets a unique output.

  1. How are hash functions used in cryptocurrencies like bitcoin? (Try to research this on your own, we will cover this later in the course but challenge yourself and see if you can find information on this already now).

Hash functions are used in bitcoin to create a unique digital fingerprint to encrypt any and every transaction.

  1. What does it mean when we say that hash functions need to be collision resistant? (We didn’t use the term “collision resistant” in the lecture, but you will easily find this on Google, we add this question intentionally to make you research information on your own, that’s how you learn best).

Collision resistance is necessary in hash functions so that you cannot have two different inputs creating the same output.

1 Like
  1. Hash functions fuse what’s given them uniquely. It’s not possible to get the input from the output.
    2.Bitcoin uses sha256 hash function to hash transactions. The algorithm chains hashes to each other and secure them.
  2. The outputs of 2 inputs always different, they don’t collide.
1 Like
  1. hash function is a one way mathematical algorithm that maps input data of any size to an output bit array of fixed size.
    2 Once transactions have achieved consensus a hash is calculated and stored on the blockchain, this means every block will have its own digital signature and if the the data in the block is changed the hash will change dramatically rendering the block invalid.
  2. No two different inputs will lead to the same output and if an input is changed infintessimally there will be a huge change in the hash
1 Like
  1. A hash function takes any string of data and converts it into numbers called hash. This process is impossible to reverse and provides a unique identifier for your data.
  2. In Bitcoin the Hash function is used to hash transaction data. Mining then requires finding a number that generates a specified hash in combination with data unique to that block.
  3. Collision resistant comes when two different things combine and not getting the same hash.
1 Like

1. Describe hash functions with your own words
Hash function is one way cryptographic algorithm that can convert input into the unique output and fix length like sha256 (256 bits), cannot revert back to the original input.

2. How are hash functions used in cryptocurrencies like bitcoin? (Try to research this on your own, we will cover this later in the course but challenge yourself and see if you can find information on this already now).
Hash function in bitcoin use to write new transaction into blockchain through mining process.
Refer: https://www.coindesk.com/markets/2017/02/19/bitcoin-hash-functions-explained/

3. What does it mean when we say that hash functions need to be collision resistant? (We didn’t use the term “collision resistant” in the lecture, but you will easily find this on Google, we add this question intentionally to make you research information on your own, that’s how you learn best).
Hash function need to be collision resistant because it need to prevent some input that can be generate same output which input x1 not equal to input x2 and attacker can take advantage from that (different input).
refer: https://www.jeffcarp.com/posts/2018/understanding-security-cryptographic-hash-functions/#security-property-3-collision-resistance

1 Like

Hash function is a way of encrypting data that creates a unique hash fingerprint & if something even slightly is changed in the input then the output hash will not be the same. Another feature of hash function is that with the output hash you are unable to determine what the inputs were.

Hash function is used to write new transactions on the blockchain.

“Collision resistant” means that there is not way or very hard to find the two inputs that hash to the same output.

1 Like
  1. Hash Functions will create a fixed size unique digital fingerprint to any input by mathematical process.
  2. Hash Functions is part of the algorithm which is used to write new transactions into the blockchain through mining process.
  3. Collision resistance is a property of hash functions by making it hard to find two inputs matching to a same output.
1 Like
  1. After input, hash functions give it a unique output like cryptology.

  2. Are used to create a secure digital human fingerprint.

  3. Collision resistant means input have no same output identifiers. When collisions can be identified, they can be used to exploit the hash function.

1 Like

Hash function is a input data with no reverce to its origin.
It creates sort of an unique fingerprint for a transaction.
the impossible to create the same hash for different input (collision resistant)

1 Like

Hash functions takes an input produces an output or digital finger print

Hash functions encrypt data so its secure and only someone with keys can access.

Input is transformed to unique output with it being nearly impossible to get to of the same output

1 Like

a hash function is a oneway conversion that cant be reversed

Hashing is the process of taking an input string of arbitrary length and producing a fixed-length result. In the case of cryptocurrencies such as bitcoin, the transactions are accepted as input and passed through a hashing algorithm (SHA-256 is used by bitcoin), which produces a fixed-length output.

meaning that every hash function with more inputs than outputs will inevitably have collisions; the more difficult they are to locate, the more cryptographically safe the hash function.

1 Like
  1. Hash functions are one way functions, where each input produces a unique output, a digital fingerprint.
  2. They has (encrypt) the transaction data.
  3. Collision resistant means that 2 different inputs cannot have the same output.
1 Like
  1. Hash functions are functions that receive one-way input and produce unique finger print output. For example you could put a number of different fruits into a blender and turn it on to produce the mixture say smoothie. You cannot then put the mixture back in the blender and go backwards to reproduce the original fruits. So is the case with the input into the has function. If you change even a single digit or add even a space the output will be uniquely different.

  2. Hash functions are used in cryptocurrencies like bitcoin by miners to solve and verify blocks that are added to the blockchain thereby earning them monetary incentive to solve the computational problem using their resources to earn money.

  3. The term collision resistant refers to the impossibility of ever getting the same result twice, 2-of-a-kind i.e. it is computationally infeasible to find a collision.

1 Like
  1. Hash functions are algorithms where you input data of any length and the output is a fixed string of numbers.
    2.Basically hash functions are used to create mathematical traceability and unbreakability
  2. Collision resistance is making it so no two different input messages will result in the same hash output.
1 Like