Monday, March 7, 2022

Hashing in Action

Hashing is a cryptographic concept that can be used to validate the integrity of files and store passwords. 

What does it mean?

> Let's say I want to download Eclipse, the popular Java IDE
> I google and find the website from where I can download Eclipse

> But wait, how do I know that this file was not tempered and what is this SHA-512 button
> If you are here, you already know where this is going, let's look at SHA-512

> Now download the file and use OpenSSL tool to find hash of your downloaded file
> cat eclipse-inst-jre-win64.exe | openssl dgst -sha512
> Match the hash

I have OpenSSL tool installed on my system, here are the steps:
https://iamsecurity-tips.blogspot.com/2022/03/install-openssl-on-windows-subsystem.html
https://iamsecurity-tips.blogspot.com/2022/03/install-windows-subsystem-for-linux-wsl2.html

No comments:

Post a Comment