I am trying to understand what adding the literal integer values of 256 and 512 does to the byte array as described in the C code sample below which is a snippet from the Microsoft Permutative Encoding Algorithm for PST files. I am porting this to another language and want to understand what happens to the array when you add a literal to it, is it adding that value to all the elements in the array or is it causing a bit shift of some sort?
Code:
byte mpbbCrypt[] = { 65, 54, 19, ... }; // A byte array initialized with 256 values
#define mpbbR (mpbbCrypt)
#define mpbbS (mpbbCrypt + 256)
#define mpbbI (mpbbCrypt + 512)
Thanks,
PC