Reduced MD5
#2
well i just think how to code this

Code:
if(reduced)
  return !memcmp(h0, h1, 8 * sizeof(BYTE));
else
  return !memcmp(h0, h1, 16 * sizeof(BYTE));

or set size during init...
Code:
if(reduced_option)
  md5size = 8 * sizeof(BYTE);
else
  md5size = 16 * sizeof(BYTE);
  ...
return !memcmp(h0, h1, md5size);

unfortunately in both cases another variable is used wich of course reduce perfomance in normal md5 mode. therefore probably this is a bad idea Sad

but how about quick hack? i can load hashes like
e10adc3949ba59ab0000000000000000
5f4dcc3b5aa765d60000000000000000
cb1d65bec7c1bd480000000000000000
- and only thing needed is to compare 8 bytes not 16

im stuck in disassembling oclHashcat32.bin, have no idea how to fix this in hex editor

p.s.: how about to compare 8 bytes in all cases and modes? this saves memory and cpu, and still gives 100% hit Big Grin


Messages In This Thread
Reduced MD5 - by Angel - 09-17-2010, 02:19 PM
RE: Reduced MD5 - by Angel - 09-17-2010, 09:36 PM
RE: Reduced MD5 - by atom - 09-20-2010, 09:31 AM
RE: Reduced MD5 - by Angel - 09-20-2010, 07:09 PM
RE: Reduced MD5 - by koulikov - 09-12-2012, 02:49 PM
RE: Reduced MD5 - by atom - 09-13-2012, 10:27 AM
RE: Reduced MD5 - by Rolf - 09-13-2012, 11:05 AM
RE: Reduced MD5 - by koulikov - 09-13-2012, 03:04 PM