Hi Jason, Great stuff....tried this out and works quite well, reversing did not quite bring back all the code identically especially for commented portions of the source code. Now, further to my original post, my ideal situation is that write code, its validated, stored somewhere safe, then its obfuscated, and that obfuscated program would be recognized by SAS and would be run-able. However I dont think SAS can do this other than with PWENCODE, i.e it knows what that scrambled code is as its a built in function etc. Thoughts ? EDIT: In fact if SAS could use the Oracle dbms_obfuscation_toolkit.DESDecrypt feature you could obfuscate the entire program, then read in the scrambled program and decrypt it on the fly to a self deleting temporary file for example which is run during the process...if that makes sense
... View more