Homework on Hash Functions - Questions

What happened to answer number 2 and answer number 3🤔?

  1. A hash function is a mathematical formula that produces an unique output for every input. It is a one-way function, meaning that that output cannot be back-calculated to find the input.
  2. Hash functions are used in the Bitcoin blockchain a couple of different ways. Miners try to earn the right to mine the next block in the chain by becoming the first one to guess a the “correct answer” to a hashing algorithm. Hashes are also used for creating public and private keys for each bitcoin user.
  3. For a hash to be collision resistant, there cannot be an identical output for more than one input. In other words, there can’t be more input than outputs.
1 Like
  1. Hash functions are mathematical algorithms that convert an input string of an arbitrary length into an alphanumeric output of a fixed length.

  2. Need to understand the concept more in detail to answer this one. Sorry

  3. Collision Resistant simply states that no two or more inputs will have the same hash/hash output, i.e., each input string has its unique hash.

1 Like
  1. A One-way, fixed length function in which a unique input gives a unique output, but never able to crack in reverse (output to input)
  2. SHA256 utilizes previous blocks and repeats this for each block in the chain. Alot of computing power and electricity is utilized for mining each block.
  3. Collision Resistant: difficult and rare to product the same hash output.
1 Like
  1. A hash function is transferring data from an input to an output in a way that it would be impossible to recover the input information just by the output.
  2. It’s a way to make cryptography. To secure the transaction of Bitcoin.
  3. Collision resistance is the property of a hash function that it is computationally infeasible to find two colliding inputs.
1 Like
  1. Hash functions are mathematical equations that produce for any input data a unique digital fingerprint. The input data gets converted to a output data via a complex algorithm that can (should) only be solved unidirectional so input --> output and can not be solved output --> input.

  2. The Hash functions are used in Bitcoin for the consensus process and to produce the header of the next block. They are used to store the transactions / information added to the blockchain. the block gets created by adding the new information to the previous hash and than creating the new hash…if a hash has been accepted by consensus decision the block gets added.

  3. It means that it is hard but should be almost impossible( otherwise it would be a step forward to crack the algorithm) to find 2 inputs that create the same output.

1 Like
  1. A hash function is a one-way function which processes an input into a virtually unique output.
  2. The hash functions are used in the proof of work. Basically miners will look for a nonce which together with transaction data produces a hash with a certain trait e.g. a hash wich ends in “0000”.
  3. Collision resistant means that the function produces virtually unique outputs, so that there is a very small chance that you’ll find two inputs which produce the same input.
1 Like
  1. Functions where when you put in a input you get a unique output and changing anything in the input like a number will completely change the output.
  2. Transactions are the input and then miners find a nonce for the specific hash, then the output is that number.
  3. When you cant get the same output with two inputs.
1 Like

1: Every hash function has a unique input, which in turn gives a unique output. No two inputs have the same output and vice versa.

2: Has functions are used in bitcoin (for example) to write new transactions into the blockchain via the mining process, according to an article on coindesk.

3: Being collision resistant means that hackers will have a very difficult time breaking the function.

1 Like
  1. Hash functions are one-way functions with a fixed-length output form which is not possible to recover input.
  2. Hash function in crypto is used in order to mine new hashes that will enable the creation of new transactions. Furthermore, it is correlated with previous blocks in the chain which makes it easy to validate. Crypto miners adjust signature data until hash produces n zeros which requires a lot of random guessing.
  3. Collision resistance represents the very low probability of two inputs generating the same output hash. In theory, it is not possible but the possibility of it happening is insignificant.
1 Like
  1. A hash function operates within a given mathematical framework (ie SHA256) that convert an input(ie digits, text or image files) into an output (in the format of a string fixed-length alphanumeric codes) through a set of mathematical rules.

  2. The hash functions used in bitcoin is known as Cryptographic hash functions. That means it adds security features to typical hash functions, making it more difficult to detect the contents of a message or information about recipients and senders.
    Three properties of Cryptographic hash functions
    a. They are collision resistant
    b. They can be hidden
    c. The output are computed and generated randomly and, like human fingerprints, no one is the same

  3. Cryptographic Hash functions need to be collision resistant because it fortresses the security feature of the cryptocurrency

1 Like
  1. A hash function changes an input of information into an indiscernable code, so that the original input is impossible to determine.
  2. If I understand correctly, giving a hash to a transaction uniquely identifies it as it takes place.
  3. “Collision Resistant” means that it should be practically impossible for ay two inputs to produce the same hash output.
1 Like
  1. Hash functions are computations which are used to convert small or large amounts of of data into a the SHA256 hash. SHA256 has cannot be reversed to figure out the input which led to the output.

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

  3. A collision means the same hash value for two different inputs. Therefore, being collision resistant means having a low chance of having figuring out the input.

1 Like
  1. A liner one way mathematical representation of data which is immutable.
  2. Hash function SHA 256 is used in bitcoin to represent the ledger data.
  3. Collision resistance if when two inputs does not have an easily obtainable same output. Wherein input = or < output is collision resistant.
1 Like
  1. A hash function is a versatile one-way cryptographic algorithm that maps an input of any size to a unique output of a fixed length of bits.
  2. Hash function in bitcoin is used to create new transactions, that will be added to the block. In order for the bundled block to be added to the blockchain, miners need to find a hash that meets the target difficulty.
  3. It should be infeasible, meaning that 2 inputs must not generate the same output.
1 Like
  1. A hash function is a function that transforms an input that can have various formats into a string of bits with a clearly defined format, oftentimes represented in the hexadecimal system. The hash can be viewed as digital fingerprint of the input (although there is a risk of collisions with small probability depending on the hash function)

  2. Hash functions take a central role in cryptography and therefore also in crypto currencies like bitcoin. In bitcoin there are two main aspects where hash functions play a role: 1) Public Private Key cryptography / generation of addresses 2) Mining to create new blocks that includes the hash of the previous block enabling validation of blocks and linking the blocks of the blockchain together

  3. Hash functions are transform inputs into outputs. The number of possible outputs is limited by the length of the hash. However, there is an infinite number of possible input values. Since the input space is larger than the output space, there are inputs that must create the same hash (output). This is called a collision. Depending on the hash function this probability can vary. The smaller it is the higher the collision resistance.

1 Like

Is when each unique input produces an unique output. Unique finger print.
Used to generate a fixed-length character string from data records of any length, It could be a word, a sentence, longer text or an entire file. It is used for Security purpose and constitutes the backbone of crypto security. The hash of a transaction makes it easy to identify on the blockchain.
Collision resistance is the property of a hash function. It is computationally feasible to find two colliding inputs. There is a minimal requirement for a hash function to be collision resistant therefore avoiding any hackers.

1 Like
  1. a hash function creates unique outputs for every input and is used for data integrity checks.
  2. it is used to encrypt transaction data so only the intended recipient can decrypt it.
  3. no 2 inputs can equal the same output in a hash function.
1 Like
  1. Hash Functions - Hash Functions are functions that when given a unique input, you are given a unique output. This unique output is considered a digital fingerprint. That unique output then cannot deduce the input that was given.

  2. Hash functions are used in bitcoin to make the network secure. Your private key uses a hash function to provide a public key. Transactions use hash function to produce hashes which are then combined and sent back through the hash function providing the network with more security.

  3. Collision Resistant means that it is next to impossible for two inputs in a hash function to produce the same output.

1 Like
  1. A hash function is a computation where by an input provided creates a unique output. In addition, the input can not be derived from the output.

  2. Transactions on the bitcoin network are records stored within blocks. These transactions are validated and a new block produced using hash functions. The use of a hash function allows for a unique digital fingerprint to be created for each transaction and gives network participants an incentive to secure and validate the network as miners are rewarded for solving these functions.

  3. Collision resistance means that there is difficulty in finding two inputs that create the same output. If two inputs could create the same output, there is higher likelihood you could derive the inputs and alter the transactions

1 Like