6 # Test that md5 works on unaligned memory blocks
11 use Digest::MD5 qw(md5_hex);
13 my $str = "\100" x 20;
14 substr($str, 0, 1, ""); # chopping off first char makes the string unaligned
16 #use Devel::Peek; Dump($str);
18 print "not " unless md5_hex($str) eq "c7ebb510e59ee96f404f288d14cc656a";