A source-level compiler may randomly select compilation conventions to
implement portable content protection, securing the secrets embedded in a
program by shuffling associated data. The program may be developed using
a source language that is applicative on the associated data. To obscure
the embedded secrets, in one embodiment, pre-compiler software may be
deployed for compiling the program in a random-execution-order based on a
random seed indication that randomly selects compilation conventions and
a shuffling algorithm that moves the associated data across the program
during execution.