|
Message-ID: <AANLkTime1U0fDzotxwT2xYcxZxmkjtDkKWAYAXUzCNY-@mail.gmail.com> Date: Tue, 21 Dec 2010 16:19:31 -0500 From: Rich Rumble <richrumble@...il.com> To: john-users@...ts.openwall.com Subject: Re: Changing Double to use All Characters On Tue, Dec 21, 2010 at 3:49 PM, Solar Designer <solar@...nwall.com> wrote: > You need to replace all three instances of 'a' - one in init() and two > in generate() - with 0x20 (ASCII code for whitespace). You also need to > replace 'z' (there's just one instance of it) with 0x7e. Thanks I'll give it a shot! > For half-lengths of up to 8 (inclusive), you need 17 elements in > current[], not 16. The 17th holds the NUL byte terminating the string. > This is why the original code had: I realized that later, well I saw that it should be one greater at least :) > Thank you for your comments. No, ty for JtR! -rich
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.