L7 寫道:
> Do you mean a 'mapping'? > i.e. > 1 --> 4 > 2 --> 3 > 3 --> 2 > 4 --> 1 > > Where --> means 'maps to'. > > Or do you want to arrange the bits so that there is always a different > result after the operation? > i.e. > 1 --> [0..0xffff] > 2 --> [0..0xffff] > ... > > Any ouput is valid given an integer input. i mean is encryption, but the result is also an interger and most importantly, difficult to guess the pattern, and you have to input a key, and this key determine the pattern e.g. 1 -> 3 2 -> 4 3 -> 2 4 -> 1 however, e.g. 4 -> 1 3 -> 2 2 -> 3 1 -> 4 will not be a good map (since easy to guess) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups-beta.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---