CrackMe® Practices for Newbies
PROJECT 6: caveman by Ghiribizzo

Re: about the code
Saturday, 27-Feb-99 17:07:32

    Thanks Andy!

    16-bit value, yes quite right...staring at 32-bit programs too much and not paying attention!

    Should need unsigned int, or unsigned short int (with Borland as int is 32-bit in win32 console program). And the rotations

    a=(((unsigned short int)b[0])<<1))+(((unsigned short int)b[0])>>15))

    Sorry for previous errors,

    As for the add... you could also separate the bits with a&0x0f for lower half and a&0xf0 for upper half, add together and &0x0f again,

    Cronos.


    Cronos


Message thread:

snakebyte's thread (snakebyte__@hotmail.com) (20-Feb-99 09:08:43)

Back to main board