Yes, as far as I understand, this script indeed produces portable results. It just bitwise-xors every character with a small random integer and writes it out together with a decoder.
Beware not to use it for encryption of sensitive data!
Update:
The same results could be achieved using source filters. Look at Bleach for insights. This one is as evil as funny :) (And as useful for encryption as the one you found).