Hi,
I was wondering would anybody have any ideas on my problem.
I am trying to find a key which encrypts a plaintext byte. I am using a limited exhaustive search and have reduced the number of bits need to be flipped.
here is my variable.
#define WORD16 unsigned short
WORD16 key[1]={0xffff};
now...is there anyway I can cycle through all possible values for this key and test the output. The key is in hex. At the moment I am using a counter, converting it to hex and it is getting rather messy!!! Basically is there an automated way I can get all possible values up to the hex value 0xffff.
Any suggestions would be very much appreciated....
thank you!!!