[prev in list] [next in list] [prev in thread] [next in thread] 

List:       john-users
Subject:    RE: [john-users] CHARSET_* compile-time settings & 64-bit 	non-overflow requirement (was: Internatio
From:       "Jim" <jfoug () cox ! net>
Date:       2009-07-10 15:02:30
Message-ID: 00f801ca016f$72b9b050$582d10f0$ () net
[Download RAW message or body]

>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@lists.openwall.com and reply
to the automated confirmation request that will be sent to you.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic