Encrypting a script......

Hiiiiii..... every one.....

                        I have written a script, and i want to make that script confidential.So that, only i can see that script.

                        I am using " crypt " command in solaris 9, to encrypt that script.But when i am executing this encrypted script then I am getting an error message that can't execute binary file......

                        So, is there any way by which I can encrypt as well as execute the encrypted script on my system using solaris 9 ....????

Kindly Reply Soon....

REGARDS.

no. this is not possible.

you can try shc:
shc - shell script compiler

Out of interest why?

I've seen this request a few times, it's "security through obscurity", also "bogus security".

What are you actually trying to achieve?

with ksh93 you can use shcomp to create a binary (intermediate code) that can be run by ksh93.
but I agree with porter^.

Hey you got me thinking and have found this, which i thought was really good i have tried it and it seems to work well
LinuxSecurity.com)

Thanks a lot to everyone...
for your replies......