How do I crack substr hash?
#17
All right gents, here's a SIMD-accelerated version that uses SSE2 and, if applicable, XOP. It's ~ 350% faster than the code posted above.

http://bindshell.nl/pub/md5substr_simd.c

I used an unconventional interleaving technique (interleaving each step, rather than each operation) which ended up being a bit faster than current implementations.

On an FX-4100 the XOP code is ~240% faster than hashcat 0.42, and ~1.2% faster than John the Ripper.

On a Xeon X7350, the SSE2 code is ~260% faster than hashcat 0.42, and ~1.1% faster than John the Ripper.

Code:
epixoip@db:~$ ./md5substr aaaaaaaa
Using 16 threads, 12x SSE2
Elapsed: 3s  Progress: 1237332096/377149515625 (0.3%),  Speed: 426.67 M/s virt, 412.44 M/s real
aaaaaaaa:8*pU]]

epixoip@db:~$ ./md5substr deadbeef
Using 16 threads, 12x SSE2
Elapsed: 8s  Progress: 3327996672/377149515625 (0.9%),  Speed: 426.67 M/s virt, 416.00 M/s real
deadbeef:L,ud<P

epixoip@db:~$ ./md5substr deadface
Using 16 threads, 12x SSE2
Elapsed: 7s  Progress: 2901330432/377149515625 (0.8%),  Speed: 426.67 M/s virt, 414.48 M/s real
deadface:V,l?,E

epixoip@db:~$ ./md5substr deadfa11
Using 16 threads, 12x SSE2
Elapsed: 8s  Progress: 3327996672/377149515625 (0.9%),  Speed: 426.67 M/s virt, 416.00 M/s real
deadfa11:G,vzY;

epixoip@db:~$ ./md5substr cafebabe
Using 16 threads, 12x SSE2
Elapsed: 7s  Progress: 2901330432/377149515625 (0.8%),  Speed: 426.67 M/s virt, 414.48 M/s real
cafebabe:t,gr>N

epixoip@db:~$ ./md5substr ffffffff
Using 16 threads, 12x SSE2
Elapsed: 9s  Progress: 3754662912/377149515625 (1.0%),  Speed: 426.67 M/s virt, 417.18 M/s real
ffffffff:e-\1Go


Messages In This Thread
How do I crack substr hash? - by randomperson - 01-22-2013, 11:43 AM
RE: How do I crack substr hash? - by epixoip - 01-22-2013, 12:19 PM
RE: How do I crack substr hash? - by randomperson - 01-22-2013, 12:46 PM
RE: How do I crack substr hash? - by atom - 01-22-2013, 12:46 PM
RE: How do I crack substr hash? - by sprot - 01-25-2013, 03:18 PM
RE: How do I crack substr hash? - by epixoip - 01-25-2013, 05:57 PM
RE: How do I crack substr hash? - by sprot - 01-25-2013, 08:20 PM
RE: How do I crack substr hash? - by atom - 01-26-2013, 12:43 AM
RE: How do I crack substr hash? - by undeath - 01-26-2013, 12:59 AM
RE: How do I crack substr hash? - by sprot - 01-27-2013, 12:36 AM
RE: How do I crack substr hash? - by M@LIK - 01-27-2013, 03:26 AM
RE: How do I crack substr hash? - by epixoip - 01-29-2013, 11:00 PM
RE: How do I crack substr hash? - by M@LIK - 01-30-2013, 01:42 AM
RE: How do I crack substr hash? - by epixoip - 01-30-2013, 02:38 AM
RE: How do I crack substr hash? - by atom - 01-30-2013, 11:55 AM
RE: How do I crack substr hash? - by epixoip - 02-04-2013, 09:50 AM
RE: How do I crack substr hash? - by epixoip - 02-15-2013, 04:03 PM
RE: How do I crack substr hash? - by M@LIK - 02-15-2013, 04:20 PM
RE: How do I crack substr hash? - by epixoip - 02-16-2013, 02:47 AM
RE: How do I crack substr hash? - by Flyinghaggis - 12-06-2015, 02:59 PM
RE: How do I crack substr hash? - by epixoip - 12-06-2015, 10:42 PM
RE: How do I crack substr hash? - by Flyinghaggis - 12-07-2015, 07:16 PM
RE: How do I crack substr hash? - by epixoip - 12-08-2015, 03:11 AM