|
Message-ID: <20080124165739.GA19119@openwall.com> Date: Thu, 24 Jan 2008 19:57:39 +0300 From: Solar Designer <solar@...nwall.com> To: john-users@...ts.openwall.com Subject: Re: question about charsets On Thu, Jan 24, 2008 at 04:25:30PM +0000, helleye wrote: > looked in the source > saw 3d table , guess it is for the 3 last chars , then u decalre an array of > that for the next char , but didnt see a different one for each position? No, you've got it wrong. The chars[] array declared in inc.c: do_incremental_crack() is indexed with the position, and the lookup result is a pointer to a 3D array, which is in turn indexed with 2 preceding character values (ASCII codes minus CHARSET_MIN) and the index (not directly related to ASCII code) for the character to be tried. The final lookup result is the ASCII code for that character. -- Alexander Peslyak <solar at openwall.com> GPG key ID: 5B341F15 fp: B3FB 63F4 D7A3 BCCC 6F6E FC55 A2FC 027C 5B34 1F15 http://www.openwall.com - bringing security into open computing environments -- To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply to the automated confirmation request that will be sent to you.
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.