Date: Fri, 10 Jul 2009 10:02:30 -0500 From: "Jim" <jfoug@....net> To: <john-users@...ts.openwall.com> Subject: RE: CHARSET_* compile-time settings & 64-bit non-overflow requirement (was: International Charactersets) >Ok my question more specifically will be "how to do the math?" I've >tried googling but all i get is info on 64-bit architectures :( ((SIZE ** LENGTH) * SCALE) is ((size^length)*scale Note, in the comment ** was used since in C ^ is xor, and not power, thus using ^ in C source can be confusing. So if size is 36, length is 8 and scale (which I am not sure what it is) is 256, then: 36^8 == 2821109907456 * 256 == 722204136308736 Since 2^64 is 18446744073709551616 so ((36^8)*256) is well below this level. Jim. -- 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.