in reply to Re^4: MD5 - what's the alternative
in thread MD5 - what's the alternative
Okay. Here's an open challenge to all crypto-analysts everywhere.
Modify the following text
The quick brown fox jumps over the laxy dog f67fcc68ecf72971a7bd012e3a47d0ac
such that it will verify by the following perl program:
#! perl -slw use strict; use Digest::MD5 qw[ md5_hex ]; my $challenge = 'The quick brown fox jumps over the laxy dog f67fcc68ecf72971a7bd012e3 +a47d0ac'; my( $text, $sig ) = $ARGV[ 0 ] =~ m[(^.*)\s(.{32})$]; die 'Cheat! The text has to be different' if $ARGV[ 0 ] eq $challenge; die 'Bad luck' if md5_hex( $ARGV[ 0 ] ) ne '7b79a6f61178415a63fc5e7b76d64a1f' or md5_hex( $text ) ne $sig; print "You won yourself a meal on BrowserUk" ; print 'Make sure your passport is valid' if $ARGV[ 0 ] =~ m[lazy]; __END__
anytime in my remaining lifetime, and I'll stand them a meal at their favorite restuarant.
Pad or truncate the message as necessary, but correct my typo and I'll stand them a meal at my favorite restuarant.
And pick up the tab for getting them to and from it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: MD5 - what's the alternative
by Aristotle (Chancellor) on Mar 11, 2005 at 13:58 UTC | |
by BrowserUk (Patriarch) on Mar 11, 2005 at 16:42 UTC | |
by Aristotle (Chancellor) on Mar 11, 2005 at 19:42 UTC | |
by BrowserUk (Patriarch) on Mar 11, 2005 at 20:35 UTC |