How to do hashing of a image and videos

Can anyone help in this .I am creating a blockchain project for my minor .There is a Projects demand where i need to do hashing of images and videos.Or u can share any source where i can learn from.

1 Like

Hashing images and videos should not be any different than hashing a text. Both text and images are represented as a binary data in a computer. Simply putting them trough the hash function will give you back their hash.

Here is an online tool that can hash files that you upload:

If you want to use it locally, you can use python.

You can use this library to implement hash functions in your python program.