Homework on Hash Functions - Questions

Bitcoin is very traceable. In fact it contains the entire history of all transactions ever occurring and their destinations. We do say that its pseudo anonymous because the addresses on the blockchain are anonymous until you link them to a specific entity. :slight_smile:

  1. Hash functions are when you insert something, such as, “my name is xxxxx”, or a series of numbers, the hash function such as SHA256 will generate a unique series of numbers as the output from your input every time.

  2. Hash functions are part of the block hashtag algorithm - used to write new transactions. In Bitcoin mining, the inputs for the function are all the most recent, not yet confirmed transactions

  3. A hash value has to be “bullet proof” to ensure that it is impossible for two different inputs to produce the same output. A hash function in crypto is used for security reasons and is the backbone of crypto security.

Help me out someone if I’ve missed the mark.

1 Like
  1. Hash functions will always give the same output for the same input.

  2. Hash functions are used in Bitcoin for validating transactions in blocks mined. Also for unique identifiers of a uniform length.

  3. Hash functions need to be collision resistant so that multiple inputs cannot produce the same hash.

1 Like
  1. Hash Function is a unique input and gives a unique output. It is like a fingerprint.

  2. It is used to write new transactions into the blockchain through the mining process.

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

Numbers ,letters, and media files all can be hashed. Every input should always give a different output.

2.How are hash functions used in cryptocurrencies like bitcoin?

Hash functions are used to hash data and to secure the blockchain. its use for bitcoin mining.

  1. What does it mean when we say that hash functions need to be collision resistant?

2 inputs should not produce same output. Even if one letter, number,or symbol is changed it should always produce different output. If hash function collide then blockchain could be not secure.

1 Like

Homework on Hash Functions - Questions

  1. Describe hash functions with your own words
    -hash functions are the computational equation that brakes a transaction or information into a cryptographed alphanumeric sequence that its unique and un-brakeable “fingerprint”

  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 proof a transaction between 2 individuals giving them the hash (alphanumericnumber) that can be traced on the blockchain to proof that the single transaction between the 2 individuals really took place,

  3. What does it mean when we say that hash functions need to be collision resistant?
    It means that tow different operations never get the same hash.

1 Like
  1. Hash function is a universal translator for computers. Creates a unique string of a certain size from any data (a hash). It is a one way function. It is coded to make it impossible to reverse making it a secure way to store/send/receive information.
  2. Crypto currencies like Bitcoin use hash functions to create encrypted privacy keys to for secure storage and transfer. They are used in the mining process when validated, new blocks are made on the blockchain.
  3. Collision resistant means that no other input will produce a duplicate ascii combination (hash).
1 Like
  1. Hash function is a method to create a unique set of numbers from a set of input/parameters. That unique set of numbers would serve as an identifier/fingerprint representing the input.

  2. Hash is used to represent the current set of transaction/information. The next block is a hash representation of the previous block’s hash and the current transaction/informtation.

  3. Collission resistant means that no hash output is equivalent to the (or one of the) inputs of the hash function.

1 Like
  1. Hash function are to hide the information.

  2. They are used in the POW mining

  3. Collision resistant meaning the hash will not find 2 of the same inputs that is it will not find 2 inputs that give the same cryptographic answer. NOT FIND meaning harder to find.

1 Like
  1. Hash function is used to convert date to a unique finger print that can’t be reversed (Can’t be translated)
  2. Hash function are used for bitcoin transactions
1 Like
  1. Describe hash functions with your own words
    They are one directional and generate a unique output based on the input. They provide security and transparency.
  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 essentially shroud or hide the specific transaction data while allowing for traceability, security and integrity consensus.
  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 resistance relates to how cryptographically secure a hash function is. We never want to see two different inputs that result in the same output.
1 Like
  • Describe hash functions with your own words
    A hash function is an alphanumeric string of data that represents a variable input with a fixed output. The output of the function being the hash

  • How are hash functions used in cryptocurrencies like bitcoin?
    Hash functions are used in Bitcoin as a way to add to the blockchain. With each Hash verification a block can be added. The more blocks added, the more secure the network is.

  • What does it mean when we say that hash functions need to be collision resistant?

A hash function that is collision resistant means that each input is so uniquely different that their will be no duplicated output

1 Like
  1. Describe hash functions with your own words. Hash functions are a mathematical process which performs a calculation on an input to output a fixed length ‘digital fingerprint’ of that input. In the case of hash functions like SHA-256, this is a one-way process – you cannot calculate an input from an output.

  2. How are hash functions used in cryptocurrencies like bitcoin? Cryptocurrencies such as Bitcoin use SHA-256 to create new blocks. In effect, it is a data integrity check which proves the transaction data in the block has not been changed.

  3. What does it mean when we say that hash functions need to be collision resistant? Collision resistance means that no two different inputs can result in the same output

1 Like
  1. Hash functions are unidirectional functions where you can go from input to output but not reverse. Even a slight change made in the input will completely change the output.
    2.Hash functions are used in Bitcoin to validate new blocks that are added each time through the mining process and they’re also crucial for the Proof of work algorithm involved in mining
    3.Collision resistance property of hash functions means that it is very hard to find 2 of the same output. Its not impossible but it is highly unlikely
1 Like
  1. A hash function converts a input of data and converts it into a output of letters and numbers that cannot be reversed.

2.Hash funtions are used in bitcoin to write new trasactions into the blockchain through the mining process.

  1. Collision resistant means that it is hard to find two inputs that have the same output.
1 Like
  1. Describe hash functions with your own words
    A hexadecimal output of an input using a specified cryptographic protocol like SHA256

  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).
    Data sets that are processed through a Hash function are linked via Bitcoin algorithms to create blockchain.

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 is where two different inputs processed through a hash function result in the same hash output. Previous hash functions like MD5 and SHA1 have higher chances of collision whereas use of a hash function like SHA256 has high collision resistance.

1 Like
  1. Describe hash functions with your own words

Hash function mathematical transform an input value of arbitrary length into an output value that is of a fixed length a.k.a. hash value.

  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 write a new transaction into the blockchain locking it to all previous transactions through a process known as bitcoin mining. The bitcoin miners will earn bitcoins if they successfully combined all inputs with their arbitrary input value to result in a hash values starting with a series of zeroes.

  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 that is collision resistant ensures that it will not be abled to hash to the same output hash value with some input values. There is flaw in the hashing function if an attacker or user can compute on random input to result in the same output values. This means users can actually cheat or trick the system.

1 Like

1.Hash functions are unique representations of outputted data that was previously inserted into the one-way hash algorithm. If any piece of the input is changed, the output will be completely different.

  1. Hash functions are used in cryptocurrencies through the mining process which creates new transactions to be placed on the blockchain. Miners have to make several adjustments in order to reach the target network of less than or equal to the block’s hash.

  2. Collision resistant when talking about hash functions means the process of finding two inputs to produce the same output is very difficult. It is necessary for hash functions to be collision resistant so the initial raw data inputted is as close to impossible as possible(lol) to decrypt.

2 Likes

Fabrice, a collision occurs when two identical codes are generated (and used or attempted) on the blockchain. What happens in that case I don’t know yet!

  1. Hash functions are complex functions that produce a unique output.

  2. Hash functions are used in cryptocurrencies to tie a miner to the coins they mine instead of passwords. They insured that coins will be traceable in storage addresses.

  3. Collision resistant hash functions prevent the same output amoung two different hash functions, aka “collision”.

1 Like