SHA1 form .exe file in C#
Posted
by alibipl
on Stack Overflow
See other posts from Stack Overflow
or by alibipl
Published on 2010-06-10T16:57:44Z
Indexed on
2010/06/10
17:02 UTC
Read the original article
Hit count: 336
Hi! I hope that someone could help me with reading exe files in C# and create a SHA1 hash from it. I have tried to read from executable file using StreamReader and BinaryReader. Then using built-in SHA1 algorithm I tried to create a hash but without success. The algorithm results for StreamReader was "AEUj+Ppo5QdHoeboidah3P65N3s=" and for BinaryReader was "rWXzn/CoLLPBWqMCE4qcE3XmUKw=". Can anyone help me to acheive SHA1 hash from exe file? Thx.
BTW Sorry for my English ;)
© Stack Overflow or respective owner