473,386 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

md5sum for vb net

Hey all i am looking to see if anyone has created a function or knows how to
create an md5sum that would match the md5sum routines found commonly in C++
and Linux.

Gary Townsend
Nov 21 '05 #1
3 4120
Hi,

I believe this is what you are looking for.

http://msdn.microsoft.com/msdnmag/is...?fig=true#fig5

Ken
-------------------
"Gary Townsend" <ga**********@hotmail.com> wrote in message
news:_xY0f.1771$y_1.348@edtnps89...
Hey all i am looking to see if anyone has created a function or knows how
to
create an md5sum that would match the md5sum routines found commonly in
C++
and Linux.

Gary Townsend

Nov 21 '05 #2
On Wed, 05 Oct 2005 22:34:34 GMT, Gary Townsend wrote:
Hey all i am looking to see if anyone has created a function or knows how to
create an md5sum that would match the md5sum routines found commonly in C++
and Linux.

Gary Townsend


Beware: MD5's lifetime as a useful hash is limited.

http://en.wikipedia.org/w/index.php?title=MD5

"Because MD5 makes only one pass over the data, if two prefixes with the
same hash can be constructed, a common suffix can be added to both to make
the collision more reasonable. And because the current collision-finding
techniques allow the preceding hash state to be specified arbitrarily, a
collision can be found for any desired prefix. All that is required to
generate two colliding files is a template file, with a 128-byte block of
data aligned on a 64-byte boundary, that can be changed freely by the
collision-finding algorithm."
Nov 21 '05 #3
:) thank you basically what i was doing was trying to write a program that
mimmiced BattleField's 2 CD Key Hash which from what i have heard is just
an md5sum of your CD Key.

IF i were to use a hash i will defienitely keep your link in mind thank you

"Ross Presser" <rp******@NOSPAMgmail.com.invalid> wrote in message
news:10****************@rosspresser.dyndns.org...
On Wed, 05 Oct 2005 22:34:34 GMT, Gary Townsend wrote:
Hey all i am looking to see if anyone has created a function or knows how to create an md5sum that would match the md5sum routines found commonly in C++ and Linux.

Gary Townsend


Beware: MD5's lifetime as a useful hash is limited.

http://en.wikipedia.org/w/index.php?title=MD5

"Because MD5 makes only one pass over the data, if two prefixes with the
same hash can be constructed, a common suffix can be added to both to make
the collision more reasonable. And because the current collision-finding
techniques allow the preceding hash state to be specified arbitrarily, a
collision can be found for any desired prefix. All that is required to
generate two colliding files is a template file, with a 128-byte block of
data aligned on a 64-byte boundary, that can be changed freely by the
collision-finding algorithm."

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Ola Natvig | last post by:
Hi all Does anyone know of a fast way to calculate checksums for a large file. I need a way to generate ETag keys for a webserver, the ETag of large files are not realy nececary, but it would be...
4
by: Ben Rf | last post by:
Hi I'm new to programming and i'd like to write a program that will parse a list produced by md5summer and give me a report in a text file on which md5 sums appear more than once and where they...
5
by: jwb | last post by:
Hello all, I just was wondering if any one knows how to compare compiled VB.NET executables to determine whether or not they are identical. In the dark ages (read: pre-CLR and .NET) one could...
1
by: Andrew Chalk | last post by:
I am using VC++ v7.1. Each time that I do a build the md5sum of the resultant DLL is different. Is VC++ embedding a compile-time timestamp in the output file, or what? Many thanks
0
by: Rory Campbell-Lange | last post by:
I'd like to use an md5 function to hash some strings on debian stable/testing (7.3.2). Is it possible to do this? If so, how do I achieve it? Thanks for any help. Rory -- Rory Campbell-Lange...
2
by: chis2k | last post by:
I am trying to figure out how to get the MD5 sum of a file that is like the result from the MD5sum.exe program that is readily available on the internet. I tried the following but it gives me...
2
by: intrader | last post by:
I have a .NET interop assembly Hash.MD5Sum with two methods Identity and GetMD5Sum. I want to call the methods from ASP (JScript), The debugger tells me that object oMD5Sum has only one method...
1
by: Theadmin77 | last post by:
I know this is a stupid question but ....im stuck ... I have 2 files were i have to perform a md5sum check , the results (hash string) output to a file were must be stamped with the date and time...
4
by: Udai Kiran | last post by:
Hi all, I have been looking for a c function that can calculate md5sum of file given the path of the file. I know that the md5sum utility is included in gnu coreutils. but how can I use this as a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.