Steemit Crypto Academy,[Season 3 Week 2] Homework Post for prof @pelon53 ||Hash and Cryptography||.

in hive-108451 •  3 years ago 

Hello everyone, it's nice to meet again this week, this time I will try to complete the assignment from the professor @pelon53 . The task this time is very extraordinary, I am very excited to do it.

Hash and Cryptography

w1.png

1. Explain what does the resistance to collision mean? And what does resistance to preimage mean?

Resistance Collision

Resistance to Collision is part of the hash function which aims to prevent collisions between two inputs. This collision can happen if there are two different inputs but can produce the same output. However, this is very rare if two different inputs produce the same output.

Basically the collisions that are generated are quite small, this is because the output cannot be calculated while the input can be calculated. In essence, the resistance to collision collisions will not occur if there is no approach. This makes it clear that it is impossible for two different inputs to have the same output.

Resistance Preimage

Preimage resistance is part of the hash component that has a hash function that is difficult to change. The repetition of the output value is caused by the preimage resistance. Makes a selection on the hash function and then has to make sure that it is uniform. Each attacker will be asked to confirm that the hash function works then the attackers need to be able to find the value in the preimage for them to get a win.

This implies that the hash function must have a good level of security as long as the attacker cannot easily get the preimage of the output value then the hash function will be safe. This is due to the lack of knowledge of the hash function of the attackers. will always remain safe could the attackers shoot at the string. This makes the need for improvements in the reach point, by choosing a hash function uniformly and randomly this can make it difficult for attackers to fix it.

2. Use tronscan and etherscan to check the hash of the last block and the hash of that transaction.

Use tronscan

1.The first step you have to do is go to the link https://tronscan.org/#/ .

2. In the second stage after you enter the link you will be shown the front page of Tron then you have to choose blockchain.

t1.png

3. In the third stage after selecting a blockchain you then have to select a blocks.

t2.png

4. In the fourth stage after selecting your block will be shown in the Number of Blocks
and also Block Rewards.

t3.png

5. In the fifth stage, after selecting the block value in stage four, which is a red number with a total of 31789482, you will be shown the block details.

t4.png

6. In the sixth stage, after looking at the detailed block and there is also a hash block below it you will find the transactions that were made.

t5.png

7. In the seventh stage, after selecting the red hash code for the transaction with code 47..6db7a, you will be shown the details of the transaction.

t6.png

8. In the eighth stage you will be shown the hash of the transaction and you need to know that every code I wrote in the previous number can change at any time.

Using Etherscan

1.The first step you have to do is go to the link https://etherscan.io/ .

2. In the second stage you will be shown on the front page of Ethereum and you can also see the last block as well as the last transaction.

E1.png

3. In the third stage if you choose the last block you will be shown the transactions in the block and also the hash in the Ethereum block.

E2.png

E3.png

4. In the fourth stage, if you choose your last transaction, it will be shown in the hash transaction on Ethereum.

E4.png

3.Generate the hash using SHA-256, from the word CryptoAcademy and from cryptoacademy.

1. The first step you have to do is go to the link https://passwordsgenerator.net/sha256-hash-generator/ later you will find the difference between CryptoAcademy and cryptoacademy.

2. In the second stage, if you enter the cryptoacademy code on the SHA256 Hash Generator, you will get a code.

5ACAB88B6F7A59823744BF809A05649AEC603A1DA222D6EAF0B0B63960EB1E6F .

c1.png

3. In the third stage if you enter CryptoAcademy writing then you will be shown with a code.

D03CA34B258E6E0FD06B2070DDE61B50BD4EEF6161A8EDAA4A420C9AE1BEB7F9.

c2.png

Of course this code can change at any time.

Explain the difference between hashing and cryptography.

Hash

Hash is a part of cryptography where hashes can change various kinds of data which are then collected in a hash.Hash has a design that works in one direction if you have data and want to enter it into the hash algorithm later you will get unique data, but if you later get a new hash you will not get the data from the hash description. produce the same hash. Apart from all that hash has a function where both large and small data can all be converted into a single hash. Hash functions have been around since 1961.

Cryptography

Cryptography is a process where cryptography can change a message that has a terrible meaning and turn it into something soft and then hidden to avoid enemies. which no one else knows. only the person with the correct delivery destination can read the message.This technique of cryptography is quite useful for email users to keep the emails they send safe, as well as credit card users, and audio broadcasting, as well as storage media and things that smell sensitive information.

Conclusion

Hash is a part of cryptography where hashes can change various kinds of data which are then collected in a hash. Hash has a design that works one way if you have data and want to enter it into a hash algorithm later you will get unique data.

Cryptography is a process where cryptography can change a message that has a terrible meaning and turn it into something soft and then hidden to avoid the enemy.

For all screenshots, if your friends can't understand it clearly, you can ask them in the comments column.

Sorry if there are words and writing that are wrong, if other friends want to comment, please comment in the comments column below.

Thank you for reading my writing, see you in the next assignment.

Best regards @karimjz

CC:
@pelon53

kjz.png

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
Loading...