Homework on Hash Functions - Questions

1. Describe hash functions with your own words
A has function is a function that cannot be reversed.
Each unique input has its own output.
It is a one way function

2. How are hash functions used in cryptocurrencies like bitcoin?
Has functions in bitcoin are used to write new transactions into the blockchain through the mining process.

3. What does it mean when we say that hash functions need to be collision resistant?
Being “collision resistant” is a propert of the hash functions.
The function is “collision resistant” if it’s hard to find inputs that has to the same outputs.

1 Like
  1. Function that converts data of any size into a unique, fixed sized value (hash.)
    Key components:
  • inputs always give unique outputs
  • unidirectional. outputs can not be used to discover inputs
  1. Hash functions are used to record each transaction into the blockchain.

  2. 2 unique inputs will not have identical outputs.

1 Like
  1. Hash function is a complicated equation with unique output, possible to solve only in 1 direction (so can not be reversed to initial data). A mathematical function witch transforms or map a given set of data into a bit string of fixed size. There are various hash functions: SHA1, SHA 256, SHA 384, MD5 (not secure, possible to reverse!), NTLM

  2. In Bitcoin protocol, hash functions are part of algorithm, which is used to write new transactions into the block through mining proces.
    Solving a hash functions with new, not confirmed transactions as input, closing it in blocks and gaining reward.

  3. Hash functions need to be collision resistant (CR) so constructed in a way that 2 different inputs should not give the same output or there should be very low chance to it.

1 Like
  1. Describe hash functions with your own words

Takes any alpha numerical input and converts it into a unique output. The SHA-256 uses Numbers 0 through 9 and the letters a b c d e f (16 units) to create the unique Hash 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).

Bitcoin protocol, hash functions are part of the block hashing algorithm which is used to write new transactions into the blockchain through the mining process. … It’s the need for this large amount of processing power that means new bitcoins get mined over a long period of time, not all at once

  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).

In cryptography, collision resistance is a property of cryptographic hash functions : 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). … ) hash operations on random input is likely to find two matching outputs.

1 Like
  1. hash functions provide for every unique input a unique output, like a fingerprint, that is not reversable.
  2. Each block involves hashes of its previous blocks in that particular chain
  3. Nearly impossible to get the same output hash for multiple inputs
1 Like
  1. Describe hash functions with your own words
    Hash functions is a one way algorithmic function that generates a unique string of letters/numbers as a digital signature that is irreversible. The output will always be linked to the 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).

They are used to hash the transactions of a block through mining.

  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 resistant means that it is unlikely that two inputs can produce the same output.

1 Like

Hash Function Homework

Describe hash functions with your own words:

Hash function is a 256bit alphanumeric expression of a piece of raw data. Once the data has been through the hash function algorithm it is encrypted and given a 256 digit code to represent the data.

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 is used for private keys and public keys. Hash is also used to record each transaction on the ledger.

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 resistant means that a hash function should never produce the same output with two different inputs, if this happens it is no longer a secure hash.

1 Like
  1. Describe hash functions with your own words
    a hash function is something you put in the input and will get a unique digital output

  2. How are hash function 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 is part of the Block Hashing Algorithm this is used to write a new transactions through the mining process.

  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 you own, that’s how you learn best).
    It is extremely hard to find two inputs that will have the same outputs in hash functions.

1 Like
  1. A hash function takes data of an arbitrary size and transforms it into a fix length data.
  2. Hash functions are solved by miners to append a block of data to the blockchain.
  3. A collision resistant hash is a hash where it is extremely difficult to find any pairs of input that will yield the same hash as in hash function H: H(a) = H(b).
1 Like
  1. a hash functioin is a part of hash algorithm used to ensure consensus on the blockchain, ensuring transactions finality and immutability
  2. hash functions used the way, that they allow miners to calculate and add new hashes on the blockchain, while ensuring successfull miners get rewarded for their efforts
  3. collisions resistant function is the one for which it is hard to find two inputs to receive identical output
1 Like

Homework on hash functions

1 Hash functions are one way conversion of data, with no reverse. SO you cannot reverse it to get the data back

2 Its used in bitcoin to hash specific transaction data, so that once a transaction is made and its hashed it cannot be reversed and if people try to alter that info it wont fit in the chain.

It should never get the same output from different inputs.

2 Likes
  1. Is a none reversible binary output.
  2. HAsh functions are part of the block using cryptographic algorithm to give an output that is not reversible.
  3. it is a function that does not replicate the same output with similar inputs.
1 Like

1.Describe hash functions with your own words

A hash function is a unique one way result of an input. Each unique input will give you a unique output, and is inposible find out the input from the output.

  1. In the bitcoin protocol, hash functions are part of the block hashing algorithm which is used to write new transactions into the blockchain through the mining process. …

  2. collision resistance means that is difficult to find two inputs that produce the same output. this is important for cryptography

1 Like
  1. Describe hash functions with your own words
    A unique way of encrypting information. You enter a unique input and get a unique output. And it’s a one way function from input to output you can never go backwards and from the output discover the input so it is secure.

  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).
    Bitcoin uses the hash function of SHA-256 for it’s transactions. Each hash function protects and secures each transaction. It functions as a one way finger print.

  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).

It means that it very hard to find 2 inputs that will create the same output.

1 Like
  1. Hash functions are functions which take an input and transform it in a way that should prevent
    or make it difficult for it to be deciphered. For each unique input they return a unique output.

  2. Each hash provides a target value between 0 and a 256 digit value. Miners compete to hash the block header for each new block of transactions on the blockchain. There is a limit value that the hash needs to satisfy for it to be successful and most times the produced hash is above that target. In this case the block header is incremented and hashing is attempted again and again and again until eventually one miner gets it right. The value of the block header gets incremented each time the hash is above the target value and hashing is retried for that value.

  3. If a hash function is collision resistant it means it will not produce the same hash for more than one input. It will always produce a unique hash for each unique input.

1 Like
  1. Describe hash functions with your own words

Hash functions are one-way functions which mathematically convert strings of data into an arbitrary output of alphanumeric characters, which now becomes virtually impossible to reverse.

  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 in cryptos are used to encrypt the transaction data to securely process the data where only the recipient can receive it. As a result, Hash functions prevent new manipulation and/or duplication of Bitcoin.

  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).

A Hash function is collision resistant if it is hard to find two inputs that hash to the same output; that is, two inputs a and b such that H(a) = H(b).

1 Like
  1. Describe hash functions with your own words
    Hash functions are secure mathematical processes which provide a unique fixed output (digital fingerprint) from a variable input. Hash functions can never go from output to input.

  2. How are hash functions used in cryptocurrencies like bitcoin?
    In bitcoin, hash functions are part of the block hashing algorithm, SHA-256, which is used to write new transactions into the blockchain through the mining process.

  3. What does it mean when we say that hash functions need to be collision resistant?
    Hash functions are commonly used data structures in computing systems for tasks, such as checking the integrity of messages and authenticating information. They are collision resistant. This means that no two input hashes should result to the same output hash. No two variable inputs will ever hash to the same output.

1 Like
  1. Hash Functions are one way functions which transform input text into a unique output. Any variation on the input will change the output completely.

  2. Hash functions are used to encrypt the data to make it secure and thus not being able to identify the original input from the output.

  3. Each input is transformed to unique output and the probability to find 2 inputs with the same output is very low.

1 Like
  1. Hashes are one way algorithms that transform input text into a unique output. Any small variation or difference will create a totally different output.
  2. For BTC, hashing forms part of the block hashing algorithm SHA-256 which is used to add transactions to the blockchain via mining
  3. Hash functions are commonly used data structures in computing systems for tasks like checking the integrity of messages or authenticating information. Collision resistant means that no two input hashes should result to the same output hash.
1 Like
  1. Hash functions are mathematical functions that takes in any form of data input and turns them into HASHES.
    Hash is the cryptographic output of an Hash function that is usually an Alphanumeric string of a certain size (a fixed length output).

  2. Hash function in cryptocurrencies like bitcoin is utilized in BTC mining.
    BTC Mining is the process that produces BTC when BTC blocks are successfully added to the BTC Blockchain.
    Bitcoin (BTC) is simply a digital ledger of bitcoin hashes.
    BTC Mining ensures Bitcoin by utilizing Bitcoin Hashes generated by the combination of proof of work (PoW) function with SHA-256 Hash Algorithm.

  3. Hash Function is said to be collision resistant when it is difficult for two inputs to give the same output.

1 Like