|
Message-ID: <502FCE29.6080201@onsec.ru> Date: Sat, 18 Aug 2012 21:17:29 +0400 From: Vladimir Vorontsov <vladimir.vorontsov@...ec.ru> To: Solar Designer <solar@...nwall.com> CC: john-dev@...ts.openwall.com Subject: Re: salted raw MD5 on GPU -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all! Thx again. > Of course, it'd only work for ASCII salts. I don't know if > Vladimir needs binary (hex-encoded) salts as well or not. Binary (hex-encoded) salts more clearly. I.e. salt "%f\gs3;A" require escaping in command line. 18.08.12, 20:37, Solar Designer ?????: > myrice, Jim, Vladimir - > > On Sun, Aug 19, 2012 at 12:26:12AM +0800, myrice wrote: >> Do we implement 2bytes salt and 8bytes as separate format? > > Implement variable salt length, like what dynamic_4 supports (I > think). Not just 2 and 8, but a range of lengths. > > Jim - do you think dynamic_4 would work for Vladimir's needs > (except that he wants this on GPU, indeed)? Does OSC use ASCII or > binary salts? Does this require hex-encoding the salt? > >> What will the format ciphertext like? If we have two salt length >> in one, I think we could: >> >> "$SaltMD5o$123456$c02e8eef3eaa1a813c2ff87c1780f9ed","test1" and >> "$SaltMD5b$123456$c02e8eef3eaa1a813c2ff87c1780f9ed","test1" > > The above looks weird to me: both examples actually specify the > same salt (meaning same length too). > > Can you just support the dynamic_4 syntax, but implement it on > GPU? > > As an alternative, support a syntax similar to that used by > md4_gen_fmt_plug.c, but for MD5 and on GPU. It uses: > > static struct fmt_tests tests[] = { > {"$MD4p$salt$15ad2b7a23e5088942f9d3772181b384", "password"}, > {"$MD4s$salt$fb483dbef17c51c13e2322fcbec5da79", "password"}, > {NULL} }; > > where "p" is for prefix (what Vladimir needs), "s" is for suffix > (not needed now). What you'd implement would be: > > $MD5p$salt$hash > > Of course, it'd only work for ASCII salts. I don't know if > Vladimir needs binary (hex-encoded) salts as well or not. > > Thanks, > > Alexander > > -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAvzikACgkQshExP8cA6RQp9gCePuEN3NXGEOHsHyJdM5y33Xgg n8QAoIPrC1QC/xNDSa8M6WJiRHhjNrdg =SDAP -----END PGP SIGNATURE-----
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.