Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 19 Aug 2012 12:00:57 +0400
From: Solar Designer <>
Cc: Vladimir Vorontsov <>
Subject: Re: salted raw MD5 on GPU

I've re-added the CC to Vladimir, and I'll over-quote a little bit.

On Sun, Aug 19, 2012 at 03:46:06PM +0800, myrice wrote:
> Vladimir, Solar
> Here is the initial version of salted md5. For simplicity(I haven't
> much time now), I add salt directly using set_key(), not on GPU. So I
> can use the without any change. I will change it later.

That approach you used is just fine for now.  That's what I expected you
would use.

(I haven't looked at your code yet; this is from your description above.)

> It only passed self test. The self-test cannot examine loaded hashes.
> I need your help to test.

Vladimir posted a test hash/salt/password to john-users.  You can find
more test vectors in dynamic_preloads.c:

static struct fmt_tests _Preloads_4[] =

...and you should be able to easily generate plenty of them on your own.

> Also, I make the test file to test it. Will let you know latter.

Yes, please.

> The code is here:
> Please checkout to PG-test branch after clone

Vladimir - please note that this PG-test tree contains plenty of formats
that are broken by the formats interface change.  There are compile-time
warnings for them.  These are to be ignored; that's how myrice
experiments with this stuff currently.  You only need to be testing this
one format:

> Example:
> ../run/john -te=1  -fo=salt-md5-opencl -pla=1 -dev=0
> OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
> Using device 0: Tahiti
> Local work size (LWS) 64, Global work size (GWS) 65536
> Benchmarking: Salted MD5 [OpenCL]... end self test
> end self test
> Many salts:     10922K c/s real, 20889K c/s virtual
> Only one salt:  6402K c/s real, 8949K c/s virtual

Also, please don't be alarmed by the low speeds reported by --test
benchmarks for it.  These do not take into consideration password
generation on GPU (two appended characters currently) that occurs during
actual cracking.



Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.