in reply to encryption portability?

I dont see any portability issues with a standard XOR 'encryption', but its not not much of an encryption.

In this case you have the decryption algorythm distributed with your code, so even if I didn't recognise how you encrypted it, it wouldn't take much to run the included de-crypter with some modifications to see the original code.

Interesting idea though...

SMiTZ

Replies are listed 'Best First'.
Re: (smitz)Re: encryption portability?
by Anonymous Monk on Apr 17, 2002 at 17:51 UTC
    How do decrypt this file? I could use the encryption (perlscript <myfile>) easily. It's indeed portable, but risky!
      see thraxil's answer:
      .. change the 'eval $prog' to 'print $prog', you get the original source code back

      SMiTZ