Nicely done! Really enjoyed this tutorial. I see the link no longer works, but I can just type it up, as better to learn this way anyway, and like to add additional functionality, and think this is a good starting point to play around with hashing digests. Thank you for sharing! Pretty amazing almost eight years later, this video is still very much relevant! Kudos mate! Though why did you put X2 you could have had put : hash.Append(b.ToString("x2")); and you can skip the ToLower method :-)
Thank you so much! This helped me to make an antivirus which uses MD5 hash finding. And i done it! Only this video helped me, thank you again for your work.
Just adapt it, from the MSDN: System.Security.Cryptography.MD5 System.Security.Cryptography.RIPEMD160 System.Security.Cryptography.SHA1 System.Security.Cryptography.SHA256 System.Security.Cryptography.SHA384 System.Security.Cryptography.SHA512
BetterCoder one question: by saying hasher.TransformBlock(buffer, 0, bytesRead, null, 0); will hasher store the transformed bytes into hasher.Hash properties or ...?
BetterCoder yeah, but I'm what I'm confused with is every time you call TransformBlock(..) will the read bytes get stored in hash.Hash? 'Cause tiny.cc/k9mmhx said: "input byte array to the specified region of the output byte array." why aren't the second byte param required
Thank so much man , do u know u safe us we 3 developers and we got task to do md5 hasher , and we did not have any idea how to it , we was looking in all web we could not find and good tutorial , we Thankkkkkkkkkkkkk you so mucccccccccccccchhhhhhhhhhhhhh
Nicely done! Really enjoyed this tutorial. I see the link no longer works, but I can just type it up, as better to learn this way anyway, and like to add additional functionality, and think this is a good starting point to play around with hashing digests. Thank you for sharing! Pretty amazing almost eight years later, this video is still very much relevant! Kudos mate!
Though why did you put X2 you could have had put : hash.Append(b.ToString("x2")); and you can skip the ToLower method :-)
You're so welcome! This is why I made this video too! I was searching and searching, and eventually gave up and created my own :P
Good day, what if you are going to convert all the files in a directory. would this could still be of use?
Thank you so much!
This helped me to make an antivirus which uses MD5 hash finding.
And i done it!
Only this video helped me, thank you again for your work.
It works! Thank you so much for this tutorial! It totally worked after watching your tutorial, others didn't really work
Awesome Explanation God bless the people like you Better than my University teacher Thanks man
HOw can i use this for computing for a file online? I mean file path with https...
@eng deaa Actually the first line of the description is a link to the source code. You can get it there.
I can't declare the progress Bar1 why ❓ please help
Hi man, pease update the source code, link is dead.
I'm not the the author of the video but here is the uploaded code.
github.com/MehdiBela/BetterCoderMD5HashProgress
why did u write "X2" in hash.Append(b.tostring("X2".toupper())); ? what does x2 denotes here ? what meaning does it hold ?
Very very good you saved my life, i didn't find a code for sha256
Anyone knows any tutorial on making SHA-1 from file with progress?
Just adapt it, from the MSDN:
System.Security.Cryptography.MD5
System.Security.Cryptography.RIPEMD160
System.Security.Cryptography.SHA1
System.Security.Cryptography.SHA256
System.Security.Cryptography.SHA384
System.Security.Cryptography.SHA512
Hi man, please update the souce code link... it is already dead, thanks in advance.
Thank you... You could use ToString("x2") with lower 'x' without calling the to ToLower(). ;)
GOOD STUFF
Oh wow, that totally makes sense, but I never thought of that. Thanks!
BetterCoder one question: by saying
hasher.TransformBlock(buffer, 0, bytesRead, null, 0);
will hasher store the transformed bytes into hasher.Hash properties or ...?
Ivandro Ismael Well, you will still need to call TransformFinalBlock() before you can get the byte[] from .Hash
BetterCoder yeah, but I'm what I'm confused with is every time you call TransformBlock(..) will the read bytes get stored in hash.Hash?
'Cause tiny.cc/k9mmhx said: "input byte array to the specified region of the output byte array."
why aren't the second byte param required
Thank you very much . If possible i would send you garland of flowers.
Thank so much man , do u know u safe us we 3 developers and we got task to do md5 hasher , and we did not have any idea how to it , we was looking in all web we could not find and good tutorial , we Thankkkkkkkkkkkkk you so mucccccccccccccchhhhhhhhhhhhhh
Thank you! :) Hopefully it's useful to you
could u plz put the hole code as comment :) thanks very much huge work :)
buffer = new byte[8192]; .... ? ( 2^13)
For those interested in getting the source code, I reuploaded it at this address:
github.com/MehdiBela/BetterCoderMD5HashProgress
Thank you!
hi thank you . very good
Yeahhhhhhhh!
Thanks!
webbbbbb