-
Describe hash functions with your own words
Hash function means its a one-way streak from input to output. -
How are hash functions used in cryptocurrencies like bitcoin?
In Bitcoin, hash function is used to create addresses, private and public keys. Transforming transactions which can be recorded as hashes in a ledger. -
What does it mean when we say that hash functions need to be collision resistant?
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 ).
- Describe hash functions with your own words
- Hash function translates an input into the same output as a result.
-
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 translates transactions with SHA-256 hash algorithm into outputs. This is secure since its not
possible to find the source transaction from the function output and efficient , since we always get a
fixed output no matter how long its the input.
- Bitcoin translates transactions with SHA-256 hash algorithm into outputs. This is secure since its not
-
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 is not possible to find the same output for 2 different inputs of the function. So the output of a hash is always unique like a fingerprint.
-
Hash functions is where you insert an input and generates a unique output like a fingerprint.
The output will be in a 16 bit base format with letters and numbers using SHA256 . -
Hash functions in bitcoin are used to write new transactions into blockchain through mining.
-
its means that its needed so makes it harder for the possible attacker to break the function.
Transaction id is the transaction hash and a merkle tree is a tree of hashes whose leaves are the txids. The root of the merkle tree is calculated from these txid which is then used in the mining process to generate the block hash.
-
Hash functions provide a digital finger print (output) to any input entered. To be efficient it can only go from input to output and not the other way.
-
Hash functions are used in the algorithms used to write transaction into the blockchain through mining.
-
It means that it needs to be able to have a different output to every input entered. If we have the same output for 2 different input we have a collision.
- A hash function is a function used to encrypt inputs. They are one-sided functions made to make the output of the function unreadable, in order to protect the input from the public.
- Hash functions are used in cryptocurrencies to protect private keys. the hashed versions are called public keys, its what allows the ledger to be public.
- When a hash function is collision resistant, it means no 2 inputs will have the same output. This is a very important feature to have in a hashing function.
1.Each unique input generates a unique output. If only one character is changed, the entire output changes. Importantly, this function is a one-way function. That means you donāt come back from the output to the input.
2.Hash function SHA-256 (Secure Hash Algorithm with 256Bit -> 64 characters) used as proof of work in the Bitcoin mining algorithm, creating addresses like private and public keys
- A hash function is collision-resistant if it is hard to find two inputs that hash to the same output
1/ the hash function is a way to encode data in such a way that its fingerprint is unique and impossible to know the information that it contains, having only the output
2/ It is used to store information in such a way that it is transparent, secure and accessible to all as long as certain conditions are met
3/means that the hash function has the characteristic that it is almost impossible to obtain the same hash from 2 different inputs
A hashing function encrypts digital information only one way, it is very unlikely for anyone to be able to revert a hashed string to its original state.
The hash function is used in the creation of new blocks. The previous blocks hash is combined with the contents of the new block and appended a nonce. If the new hash is lower than the difficulty level it is approved by the network and added to the blockchain.
It is possible for the hash to generate the same output for two different inputs. Though extremely rare it can happen. To be collision resistant means that the likelyhood of this to happen is close to impossible.
Hash functions are not used to derive public keys, for that the elliptic curve is used. However the address is a hash of the public key.
- Describe hash functions with your own words
Hash function can take any string input and convert it to a unique string with a fix amount of characters depending on the hashing algorithm. the hashing function most perform with 100% consistent results for each input.
- 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 been used all over the cryptocurrencies world from wallet address or seeds, private keys, block indexing and hashing, and for mining algorithms puzzle solving.
- 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ā meaning that thereās no two (or more) inputs that will produce the same output.
- Hash functions are a way to secure inputs but creating complicated and original outputs that cannot be traced back to what the input was. A key security component of Bitcoin.
- Hash functions turn inputs into unique and complicated outputs in order to secure data on the blockchain.
- Collision resistance refers to hash function inputs that never have the same output. The harder it is to duplicate outputs or inputs then the more secure the system.
-
A function that creates a unique output from a unique input and is near impossible to crack (relate the output to the input)
-
hash functions are part of the block hashing algorithm which is used to write new transactions into the blockchain through the mining process.
-
Collision resistance is important because it provides security and stop attackers from being able to figure out the input from the output
Homework on Hash Functions - Questions
- Describe hash functions with your own words
Bitcoin has funtios are one way computation functions that have unique outputs - 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).
Each transaction has its own hash - 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 is when an input has an identical hash output, ie its very important in cryptography that this does no occur
-
Hash functions operate by taking an imput, putting it through an algorithm to get a 256 bit output. This is a one way process and it is deterministic. Meaning that if the input is the same you will get the same output, change the input and the output changes drastically.
-
In bitcoin, the cryptographic hash function SHA 256 is used in mining to create merkel trees and to generate new addresses.
-
we mean that two different inputs should not equal the same hash output. If thisi is the case, the inputs are presumed equal. However while we need hash functions to be collision resistant, they are not always. Although, this number is infinitely small because of the high bit output (256).
Hash functions are one way information encoding mechanisms. A hash function takes information and generates a hash which is like an encrypted version of the original information. Any chan he in the input will completely change the output.
They are used in bitcoin for mining and recording transactions. They use the new inputs along with the previous hashes to encode a new block for verification.
Collision resistance refers to the probability of two inputs generating an identical output. This needs to be extremely unlikely for the network to remain reliable.
Hash Functions are used to verify data and make sure the hashes match to know that any data has not been altered or changed.
How are hash functions used in cryptocurrencies like bitcoin?
Hash functions are used in cryptocurrencies by having miners guess the digital input that can create the hash target and solve the problem. The miners must try many different combinations of input and the first miner to answer the problem correctly wins of matching them.
What does it mean when we say that hash functions need to be collision resistant?
Hash functions need to be collision resistant because if it isnāt, it defeats the purpose of crypto as someone can easily break the function with little effort. Being collision resistant makes it very hard for anyone to attack the network easily, which keeps the blockchain in tact and correct.
-
Describe hash functions with your own words
A has function is a function which works only one-way from input to output. Each unique input of a hash function gives a unique output. A unique digital fingerprint. -
How are hash functions used in cryptocurrencies like bitcoin?
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. In bitcoin mining, the inputs for the function are all of the most recent, not-yet-confirmed transactions (along with some additional inputs relating to the timestamp and a reference to the previous block). -
What does it mean when we say that hash functions need to be collision resistant?
Collision resistant means that it is very difficult to find two inputs that produce the same output.
-
Describe hash functions with your own words
A hash function is a function that utilizes various properties in order to secure the data stored in the blockchain and guarantee itās immutability by producing a ādigital fingerprintā like string of code. This function has several properties to ensure data going from input to output can not be reversed to go from output to input. -
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 cryptocurrencies like bitcoin by using a hashing algorithm (for instance BTC uses SHA-256) which produces an output of fixed length. This ādigital fingerprintā creates a Merkel Tree, helps to speed up the rate of transactions by being able to follow a āhash trailā to cut down on time to find out if a particular transaction belongs in that block or not and in the mining process, in both creating new blocks and ānoncingā new hashes to the proper target difficulty.
- 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 the idea that in almost all instances, each input will have its own unique hash, and the probability of two inputs creating the same hash is almost impossible.
-
Describe hash functions with your own words
A hash function is like a mathematical formula that gives you an output by giving it an input. Itās a one way function, so canāt figure out the input just by knowing the output. -
How are hash functions used in cryptocurrencies like bitcoin?
In bitcoin the transaction are taken as input included some other information like timestamp and previous hash and run through the SHA-256 which gives an output of a fixed length. -
What does it mean when we say that hash functions need to be collision resistant?
Means most time each input will have its own unique hash. It is infeasible that two different inputs and their respective hashes are equal.