|
|
|
|
|
|
|
|
return g; // to demodulate the input. |
|
|
return g; // to demodulate the input. |
|
|
} // then drive the engine |
|
|
} // then drive the engine |
|
|
// with the original input. |
|
|
// with the original input. |
|
|
MANGLER::MANGLER(void) { |
|
|
|
|
|
for(short c = 0;c<256;c++) // The default constructor sets |
|
|
|
|
|
Fill[c]=(unsigned char) c; // the key to the root primary |
|
|
|
|
|
Position = 0; // value and Position to 0. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MANGLER::MANGLER(void) : Position(0) { // The default constructor sets |
|
|
|
|
|
for(unsigned int c = 0;c<256;c++) // the key to the root primary |
|
|
|
|
|
Fill[c]=(unsigned char) c; // value and Position to 0. |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|