Perl: the Markov chain saw | |
PerlMonks |
Re: Why applying MD5 hash twice?by wufnik (Friar) |
on Sep 09, 2003 at 16:27 UTC ( [id://290089]=note: print w/replies, xml ) | Need Help?? |
some quick notes re: md5 dobbertin 1996 was the first, as far as i know, to show common values for the *compression algorithm* inside md5. RFC1828, security considerations section, gives a high level view of this. in essence this would allow an attacker to exploit under *very* stringent (read peculiar) conditions digital signatures of files, for which md5 is most commonly used. still, Schneier counterpane does not seem to like it. so yes, you might want to md5 twice. but - the general consensus is that SHA is more secure. here is a (yet another) wee gem from Adam Back's cypherspace site which computes it, instead. hope that helps, wufnik ...in the world of the mules there are no rules
In Section
Seekers of Perl Wisdom
|
|