I would really love to submit this encryption method to the PCI auditors.... "uses encryption extensively".
Edit: seriously? The first example is a shift cipher and a one time pad of all 'M'.
Edit: seriously? The first example is a shift cipher and a one time pad of all 'M'.
Code size and unusualness/uniqueness are goals here, as they're for obfuscation, not strong encryption - the code needs to be small, hard for an AV to recognise with a heuristic (so tables and baked constants are bad) and ideally amenable to being passed through a polymorphic/metamorphic mutation engine.
learn something new every day.