Crypto Academy / Season 3 / Week 2 - Intermediate course - Homework Post for [@pelon53]||Hash and Cryptography|| by @ruggedangel

in hive-108451 •  3 years ago  (edited)

Password-hashing.png
Image source

INTRODUCTION

Hello my fellow steemains, i am here with my homework task for professor @pelon53. I have read and understand the lecture which thought about Hash and cryptography.

QUESTION 1


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


  • Resistance to Collision
Taking part in cryptography, Resistance Collision is specified as a property of HASH. Resistance to collision can also be stated as inoperative act of two differents words, i.e when two words are not capable to give same output. When two dissimilar words are unable to generate the same hash, it demonstrates that hashes are very tight or secured. Collision are small or little, owing the fact that inputs are measurable and outs puts are immeasurable. In collision, it is impossible to discern two different or disparate input and acquiring same output.

  • Resistance to Preimage
Resistance to Preimage is a property of Hash function, which is also a direct function. Resistance to preimage is a property of hash which in which an output hash can be able to be used to generate the input. That is, with resistance preimage, it can be use to discover or discern what was the input information from the output hash. Hash function are irretrievable, and also using the output to produce or generate the input is impossible. This shows that it is well secured.

QUESTION 2


Use tronscan and etherscan to verify the hash of the last block and the hash of that transaction. Screenshot is required for checking.


Using Tronscan

In other to verify hash of the last block and the of the transaction. I first of all visit tronscan.org

Screenshot_20210708_233921.jpg

I have to scroll down the page in other to find the latest block. Then i clicked on the latest block, which led me to the nex page

Screenshot_20210708_234504.jpg

Then after that, it will display some block list, i clicked on the latest one. The block number is 31769994. Then, it will lead me to the nex page

Screenshot_20210708_235905.jpg

At this point, i was able to see the Block details and also this is the block hash 👇

0000000001e4c58a3699eb5a87c857dfada43beeeb0abf2fad7ac3addcc7619f

Screenshot_20210709_000745.jpg

Screenshot_20210709_000912.jpg

Now, i clicked the latest transaction on where transaction were listed, in other to see the latest transaction hash, which is 👇

25fa2478d852d86e3e9f826b1cf84449c20338a2aeb4b08e6edd3edec4c57369

Using etherscan

In other to verify last block block hash and latest transaction hash using etherscan, i will first of all visited Etherscan.io

Screenshot_20210709_002342.jpg

On the page you will see the latest block, then click on it to view.

Screenshot_20210709_002644.jpg

Screenshot_20210709_002750.jpg

Screenshot_20210709_002934.jpg

In other to Verify Hash of Latest Transaction, you will have to Click on Latest Transaction to view.

Screenshot_20210709_003140.jpg

Screenshot_20210709_003416.jpg

QUESTION 3


Generate the hash using SHA-256 , from the word CryptoAcademy and from cryptoacademy. Screenshot required. Do you see any difference between the two words? Explain


SHA is being used to gaurantee security, making sure that input generates a hash. There no two dissimilar input cannot display identical hash.

In other to generate hash using SHA-256

CryptoAcademy

Go to you browser and Visit the site SHA-256

Screenshot_20210709_005908.jpg

Type CrptoAcademy on the space bar provided and the click on generate

Screenshot_20210709_010126.jpg

Below is the hash result i got

D03CA34B258E6E0FD06B2070DDE61B50BD4EEF6161A8EDAA4A420C9AE1BEB7F9

Generating the hash for cryptoacademy

Enter the word cryptoacademy on the space bar provided and than click on "Generate"

Screenshot_20210709_010701.jpg

This is the hash result i got

0592F5DD27DC72E675B2AB9C77487A69FAAF84196597FA052EC099C18EE7C4C5

Explaination from what i understood. With the screenshot i provided, these two words have the same meaning, but one starts with capital letterand then the other starts with small letter. Although they are the same meaning, but they have different hash, which shows us that this is very secure.

QUESTION 4


In your own words explain the difference between hash and cryptography.


  • Hash is well secured, while cryptography is less secured.
  • cryptograhics functions with hash, while hash does not function with cryptograhic
  • hash performs a direct transaction, while cryptograhy performs a combined transaction

IN CONCLUSION

Being a trader or new to crypto world, is very important to know or study about hash and cryptography.Knowing more or acquiring more knowledge in blockchain can help one perform perfectly, knowing how secure blockchain is. I really learnt a lot from this benefitting lecture. Special thanks to professor @pelon53
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:  

Gracias por participar en Steemit Crypto Academy Season 3:

Espero seguir leyendo tus publicaciones.

NoPreguntas.Puntaje.
1Explique ¿Qué significa la resistencia a la colisión? Y ¿Qué significa resistencia a la preimagen?1.7
2Use tronscan y etherscan para verificar el hash del último bloque y el hash de esa transacción. Se requiere capture de pantalla para su comprobación.2.7
3Genere el hash usando SHA-256, de la palabra CryptoAcademy y de cryptoacademy. Se requiere capture de pantalla. ¿Observa alguna diferencia entre ambas palabras? Explique.2.8
4En sus propias palabras explique la diferencia entre el hash y la criptografía.1.0

Las diferencias del hash y la criptografía, quedaron inconclusas. Y el hash si usa la criptografía, es algoritmo matemático.

Recomendaciones:

  • Explicar los conceptor de una forma sencilla y clara entendible para cualquier persono.

  • Cuando haga la investigación, trate de entender en forma general el contendido del tema.

Calificación: 8.2

Thank you so much professor @pelon53