Steemit Crypto Academy | Season 3 | Week 2 | Hash & Cryptography.

Hello Everyone!

This is Sami Zuberi , hope you all are well. I am exceptionally hope set aside a few minutes for perusing my homework post for @pelon53 and valued it. Here i am going to impart my views on " Hash and Cryptography". So how about we begin.

Colorful Blob Organic and Handcrafted Classroom Health and Safety High School Back to School Poster (1).png

Question 1.

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

Resistance to Collision :

Collision resistance is a feature of cryptographic algorithms, a hash function is collision resistant if finding two inputs that hash to a certain output is difficult that is finding two inputs a and b. Collisions are unavoidable throughout every hash function with far more inputs than outputs. Collision is a reaction in which different different inputs provide the same outcome. It is practically difficult to identify two clashing inputs while using Resistance to Collision. Collision resistance is beneficial for a range of factors in which one is ; Users offer hash collisions as evidence that they would have completed a specific number of calculations to locate them in various proof-of-work systems. Individuals can trick the system if there is a simpler method to discover collisions beyond overwhelming force.

Resistance to Preimage :

Preimage resistance is the feature of a hash function that it would be difficult to inversion; such that, for a component in the domain of a hash function, finding an input that corresponds to that component should be virtually impossible. A single side/way function seems to be another term for the pre-image resistance function, which means that it is unlikely for a turnaround reaction to continue with that same hash function. Preimage resistance contains a customized output.

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.


Tronscan to verify the hash of the last block and the hash of that transaction

You should go to https://tronscan.org. in order to see the most recent block hash and transaction hash. And click on "All Filters".

tronscan1.jpeg

Then after clicked on the All filters, We clicked on blocks.

tron2.jpeg

Then we got an interface of transacted blocks.

tron3_correct.jpeg

After that I picked a random block, then clicked it and successfully got the details of that block. Details contain the height of block hash of block and so on.

tron4_correct.jpeg
tron_5.jpeg

And after that we go to the transactions option which is next to block option in screenshot 3 and then the page containing the transactions of blocks appear then we clicked on any random block and then got the overview of that.

tron_6.jpeg

Etherscan to verify the hash of the last block and the hash of that transaction.

To check etherscan's most recent block hash and transaction hash, go to https://etherscan.io .

eth1.jpeg

Then scroll down the page and then go to the latest blocks portion and here picked any random block.

WhatsApp Image 2021-07-10 at 4.19.27 PM.jpeg

Then clicked on the block that you picked so the details of that block will appear on screen.

eth3.jpeg

eth4.jpeg

Then we go to the transaction then the page will appear that contain transaction lists of transaction addresses.

eth5.jpeg

After select any random transaction address it will open a page that contains the details of transactions.

eth6.jpeg

eth7.jpeg

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.



When i going to generate the hash using SHA-256 from the two words which is CryptoAcademy and cryptoacademy, the hash appeared for CryptoAcademy is :

D03CA34B258E6E0FD06B2070DDE61B50BD4EEF6161A8EDAA4A420C9AE1BEB7F9

hash1.PNG



When I used SHA256 to look up cryptoacademy's hash, the result was ;

0592F5DD27DC72E675B2AB9C77487A69FAAF84196597FA052EC099C18EE7C4C5

hash2.PNG

As seen in the pictures above, I discovered both hashes to be distinct since each words had different cases. This demonstrates that Hash is resistant to collision.

Question 4.

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

HASH.

In layman's terms, hashing is the process of accepting any size input and returning a fixed length output. Hashes are permanent and may be used to convert information. Hashing is the way of forming and converting any length of input data into a stabilized string using a specified algorithm.

Cryptography.

Cryptography is a way of using codes to safeguard information and interactions so only to those who are supposed to read and process it may do so. Cryptography is crucial because it allows you to securely safeguard data that you don't want others to have access to. It's utilized to safeguard company secrets, confidential information, and personal information.

Difference between the hash & cryptography.
Hash Cryptograpy
Hashing is used to safeguard the credibility of the data. Cryptography is used to protect the data from third parties..
There are different hashing algorithms. In cryptography there are different types of cryptography.
The objective of hashing is to classify and extract data. Cryptography includes converting, in able to preserve it hidden from others.
The hashed data is usually short and constant in length. The length of the cryptographic data is not defined.
There seem to be no keys essential for hashing. To recover information, cryptography requires keys.

Conclusion.

I conclude that professor gave us a very informative lecture that helps to know about the hash and hashing functions and cryptography. A hash function is a key element that plays a significant role in the crypto industry. They both have their own importance. They're both used to encrypt data for security purposes. Hash gives several perks to the network, which are accumulated on a frequent basis. The primary essential characteristics an of hash are resistance, preimage and collision.

green_line.png

Special mentions to;
@pelon53

green_line.png

Sort:  

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.1.0
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.5
4En sus propias palabras explique la diferencia entre el hash y la criptografía.1.5
  • La pregunta 2 hay muchas captures de pantalla, pero no hay señalización ni mucha explicación.

Recomendaciones:

  • Hay que justificar el texto.

  • Es necesario explicar con claridad y que se pueda entender cada concepto.

  • Las captures de pantalla deben ser señalizadas, para entender lo que se está explicando.

Calificación: 6.7

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 63464.16
ETH 3111.33
USDT 1.00
SBD 3.98