Added scrambler0() for encryption