Hashing Files in Python | Hash Generator Using Hashlib (md5, sha256, etc)

  Рет қаралды 27,660

Fabio Musanni - Programming Channel

Fabio Musanni - Programming Channel

Күн бұрын

Пікірлер: 22
@FabioMusanni
@FabioMusanni 2 жыл бұрын
🔥🚨 *HASH GENERATOR GUI TKINTER APP:* kzbin.info/www/bejne/pqrVoaFtadyjj8U 💻 *My Source Codes:* www.buymeacoffee.com/fabiomusanni/extras ⬇️ *LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW)* 😉💪 ⬇️ ☕ *Buy me a coffee:* www.buymeacoffee.com/fabiomusanni ❤️ *Support me monthly:* www.patreon.com/FabioMusanni 😍 *One-off donation:* www.paypal.me/FabioMusanni/ *SKILLSHARE* _(Python, Web Dev, UI/UX Design, Music, Art, Animation and a lot more)_ 🔗 skillshare.eqcm.net/5gxzD2 (Affiliate) *DATACAMP* _(Python, ChatGPT, SQL, Power BI, and a lot more)_ 🔗 datacamp.pxf.io/vN1bDj (Affiliate) *COURSERA PYTHON* _(For beginners, Data Science, Data Analysis, AI, Cybersecurity and a lot more):_ 🔗 imp.i384100.net/k0Nk60 (Affiliate) *COURSERA WEB DEVELOPMENT* _(Full Stack, Front-End, Back-End, Web Design and a lot more):_ 🔗 imp.i384100.net/EKWxBW (Affiliate) Thank you for the support!❤ 🎥All my videos about Python: kzbin.info/aero/PLs8qUrmRvaR0IT4IwJl-LSweAdACW-yLK
@springsterz3729
@springsterz3729 3 жыл бұрын
I found this tutorial very useful you are the best!
@FabioMusanni
@FabioMusanni 3 жыл бұрын
Thank you very much! I'm glad it helped. Stay tuned, a lot more to come 😉🧐
@raquelibanezlopez8539
@raquelibanezlopez8539 2 жыл бұрын
Thank you so much, Fabio. This tutorial saved my life! Awesome!
@FabioMusanni
@FabioMusanni 2 жыл бұрын
Hello Raquel, thank you so much for the comment! 😊 I'm so happy I saved a life 😁 Jokes aside, glad it helped 😉
@IN3DMEX2.0
@IN3DMEX2.0 3 жыл бұрын
Me haz salvado la vida!!! Michas gracias!!
@patfacunla1687
@patfacunla1687 3 жыл бұрын
Thank You for this wonderful tutorial!
@metalalive2006
@metalalive2006 3 жыл бұрын
since there is no cryptographical hash algorithm which has exactly zero collision probability, what are possible strategies to handle collision for the application which requires the message digest (the hashed value of the file content) as an index to uniquely identify the file in your storage ?
@bn_ln
@bn_ln 2 жыл бұрын
let each hash be the key to a list, and then search the list.
@FabioMusanni
@FabioMusanni 2 жыл бұрын
Thanks for the comment and sorry for my late reply. If you use sha-256 there is a really really remote probability of collision and you would have to hash loads (4.8 x 10^38) of files to even have one (I'd say it's impossible to have a collision among the files in your hard drives). That being said, if you want to decrease this probability even more, you could use the size of the file too. It's already extremely difficult for a file to have the same hash as a completely different file, let alone the same size as well. Maybe add the size in bytes at the beginning of the hash string and use size+hash as the index. This is just an idea. 😊 🤓
@gillespiewrga
@gillespiewrga 9 ай бұрын
Thanks. You saved me a few hours. Able to verify my incoming file's checksum, now. It was unknown hash type and unknown range of the data. Turns out my input's header and footer chunks were not included in their provided checksum.
@FabioMusanni
@FabioMusanni 9 ай бұрын
I'm glad the video helped! I also created a version with the GUI if you want to check it out: kzbin.info/www/bejne/pqrVoaFtadyjj8U 😊💪
@EmmzNFT
@EmmzNFT 2 жыл бұрын
Can you find a two different word with the same hashes ? Is it possible ?
@FabioMusanni
@FabioMusanni 2 жыл бұрын
Hello Miranda 😊 It's possible, however, the question should be: how long would it take to find one collision? The first SHA-1 collision was found/created on purpose in 2017 after 9 quintillions computations in total (you can find more info at: shattered dot io). A SHA-256 collision has never been found, so if you use it, I wouldn't worry about finding a collision 🤓
@EmmzNFT
@EmmzNFT 2 жыл бұрын
@@FabioMusanni really ? i can't manage to find the Collision or the said 2 words with same hash
@FabioMusanni
@FabioMusanni 2 жыл бұрын
Exactly, if they haven't found one even trying with A LOT of computational power, it would be a sort of miracle if that happened to you by chance 😊
@jnicholas846
@jnicholas846 2 жыл бұрын
Thank you very much sir!
@akhils4673
@akhils4673 3 жыл бұрын
sir how to reverse sha256
@adithyavedula1270
@adithyavedula1270 3 жыл бұрын
It would take you billions of years, that's the security of sha-256
@dattaveerboda2405
@dattaveerboda2405 3 жыл бұрын
I'm not sure if I understood you correctly, but hashing is one way function, you can't reverse it, no way to reverse the text from Hash Value
@imlucifer5963
@imlucifer5963 2 жыл бұрын
Tx bro
@mrgps4393
@mrgps4393 2 жыл бұрын
hash the pizza in next video
Hashing vs Encryption Differences
19:38
Programming w/ Professor Sluiter
Рет қаралды 176 М.
Hashing in Python: Using Hashlib Library for Secure Hashing
15:42
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 820 М.
Using tkinter with classes
28:23
Atlas
Рет қаралды 75 М.
Python Hash Generator GUI App in Tkinter | Hashing in Python | hashlib Module (md5, sha256, etc)
36:50
Hashing passwords with Python and Bcrypt
15:44
Julian Nash
Рет қаралды 56 М.
Python Hash Sets Explained & Demonstrated - Computerphile
18:39
Computerphile
Рет қаралды 124 М.
Salting, peppering, and hashing passwords
8:56
mCoding
Рет қаралды 69 М.
Encrypted File Transfer via Sockets in Python
19:54
NeuralNine
Рет қаралды 23 М.
Python MD5 implementation
10:27
mCoding
Рет қаралды 47 М.
How Does SHA-256 Work?
22:59
learnmeabitcoin
Рет қаралды 347 М.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН