Re: How is .net generating extra bits in MD5?
From: William Stacey [MVP] (staceywREMOVE_at_mvps.org)
Date: 01/26/05
- Next message: Pete: "Re: How is .net generating extra bits in MD5?"
- Previous message: Pete: "Re: How is .net generating extra bits in MD5?"
- In reply to: Pete: "Re: How is .net generating extra bits in MD5?"
- Next in thread: Pete: "Re: How is .net generating extra bits in MD5?"
- Reply: Pete: "Re: How is .net generating extra bits in MD5?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 25 Jan 2005 21:37:58 -0500
Can you use SHA1 at other side?
-- William Stacey, MVP http://mvp.support.microsoft.com "Pete" <jpeteb@hotmail.com> wrote in message news:1106704766.258159.4510@f14g2000cwb.googlegroups.com... > Hi Shawn, > > OK, I hope I am not being incredibly stupid here, but this is the > disconnect I'm having in my head. I've looked at PDKDF1, which says > that the length of the derived key is bounded by the length of the hash > function output, which is 16 octets or 128 bits in MD5. That I can > generate fine, but the code fragment is requesting 32 octets or 256 > bits. > > >From your blog, it says "PBKDF1 will only produce the number of bytes > that the hash algorithm generates, but GetBytes will extend the result > further, allowing you to get a large number of bytes out of your > password." > > There's my question - how is GetBytes() actually producing 16 octets > more than PDKDF1 says it should? I don't understand how GetBytes() is > extending the result past what PBKDF1 says. It seems that it must be > doing another hash to create the data, but how is that derived? > > I need to make this work exactly like the .net version as we are using > this code to pass information between different OS'es, and if we can't > decode and encode on the foreign systems, that is a big problem. > Thanks for any more insight you can provide. > > --pete >
- Next message: Pete: "Re: How is .net generating extra bits in MD5?"
- Previous message: Pete: "Re: How is .net generating extra bits in MD5?"
- In reply to: Pete: "Re: How is .net generating extra bits in MD5?"
- Next in thread: Pete: "Re: How is .net generating extra bits in MD5?"
- Reply: Pete: "Re: How is .net generating extra bits in MD5?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|