Calculating hash value
Windows
certutil command is available for calculating hash value on windows.
certutil -hashfile file hashalgorithm
Here, I can specify MD5, SHA1, SHA256, SHA512 as hashalgorithm.
macOS
shasum command is available for calculating SHA hash value on macOS.
shasum -a sha_algorithm file
Here, I can speciry 1(SHA1), 256(SHA256), 512(SHA512) as sha_algorithm.
In case MD5, md5 command is available for calclating MD5 hash value.
md5 file
Note that 128 bit hash like MD5 and SHA1 are no longer secure. These should not be used as reliable digest. There was a question requires different 2 files where hashes conflict in CTF.
Profile
I have technical job experience in enbedded software development and server side infrastructure/application engineering.
I'm interested in programming and computer security.
Objective
To write down my technical knowledge in the place where I can access from anywhere.
To share my program source code.
To train my writing skill.
New entries