md5sum for vb net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary Townsend

    #1

    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


  • Ken Tucker [MVP]

    #2
    Re: md5sum for vb net

    Hi,

    I believe this is what you are looking for.

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

    Ken
    -------------------
    "Gary Townsend" <garytownsend@h otmail.com> wrote in message
    news:_xY0f.1771 $y_1.348@edtnps 89...[color=blue]
    > 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
    >
    >[/color]


    Comment

    • Ross Presser

      #3
      Re: md5sum for vb net

      On Wed, 05 Oct 2005 22:34:34 GMT, Gary Townsend wrote:
      [color=blue]
      > 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[/color]

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



      "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."

      Comment

      • Gary Townsend

        #4
        Re: md5sum for vb net

        :) 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" <rpresser@NOSPA Mgmail.com.inva lid> wrote in message
        news:10kv7e8k0e n2w$.dlg@rosspr esser.dyndns.or g...[color=blue]
        > On Wed, 05 Oct 2005 22:34:34 GMT, Gary Townsend wrote:
        >[color=green]
        > > Hey all i am looking to see if anyone has created a function or knows[/color][/color]
        how to[color=blue][color=green]
        > > create an md5sum that would match the md5sum routines found commonly in[/color][/color]
        C++[color=blue][color=green]
        > > and Linux.
        > >
        > > Gary Townsend[/color]
        >
        > 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."[/color]


        Comment

        Working...