Re: Question about MD5 and SHA1 hasing algorithms

From: David Lindgren (david.lindgren_at_hogia.se.REMOVE!)
Date: 02/17/04


Date: Tue, 17 Feb 2004 16:33:10 +0100

Then it's very likely wrongly implemented. Could you give a simple example
on how to produce the MD5 hash of a simple string of varied length?

Thanks for helping out.

/David.

"Hernan de Lahitte" <hernan@lagash.com> skrev i meddelandet
news:uGlJZ7U9DHA.268@tk2msftngp13.phx.gbl...
> This sound like an implementation misuse. The behavior described is
> completely opposite to the hash definition
> (http://www.rsasecurity.com/rsalabs/faq/3-6-6.html and
> http://www.rsasecurity.com/rsalabs/faq/3-6-5.html).
> If you have the code that shows what you described, perhaps I could help
you
> more.
>
> Hernan dL
>
>
> "David Lindgren" <david.lindgren@hogia.se.REMOVE!> wrote in message
> news:ufe8gVS9DHA.632@TK2MSFTNGP12.phx.gbl...
> > Hello!
> >
> > I have recently started to play a bit with MD5 and SHA1 hashing and
> > discovered one thing. The length of the hash key varies quite a lot
> > depending in input. Even if input is a fixed length it varies. How come?
> > Also, if anyone know of a good MD5 "Documentation" webpage, please post
it
> > here. Thank you.
> >
> > /David.
> >
> >
>
>



Relevant Pages

  • MD5 hash on very large files 500mb to 4gb+
    ... I need to compute the MD5 hash on VERY large files 500mb to 4gb+ ... Private Function ComputeDataMD5(ByVal path As String) As String ... This function uses the filestream object to create the hash from, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Complex Theoretical One Way Hash Question
    ... there is 2^n ways of writing the value of the hash in the string - for a given hash (upper/lower case for each letter). ... if anyone finds a value of n for which md5(the md5 hash of this string is n) = n, I will buy them a beer. ...
    (sci.crypt)
  • Dumb Question
    ... a way that the computed hash equals the same hash generated from the ... Here's what I have for generating the MD5 hash through the ... Function MD5Hash(ByVal inputString As String) As String ... Dim myEncoder As New System.Text.UnicodeEncoding ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: reversing hash ?
    ... The hash value generated by the script with the following line: ... of the character in a predefined string + 1 ... > If Say I took password A and encrypted it with some sort of MD5 Hash, ...
    (sci.crypt)
  • Re: How to write a diff in VB6 for comparing two xml files?
    ... No, the best you could do is to read both into string and use StrCompbut it's inefficient and, but using the hash ... Private Declare Function CryptAcquireContext Lib "AdvAPI32.dll" Alias _ ... Dim HashAAs Byte, HashLenA As Long ...
    (microsoft.public.vb.general.discussion)