executing an encrypted script

Can we execute an encrypted shell script .
I encrypted a shell scripts with crypt with keys and tried to execute it it gave me segmentation faul??
Can somebody answer this one please??

If we can is there any settings i need to change??

Thanks

If you want to hide scripts so customers don't "borrow" your code, consider a shell script compiler.

shcomp will compile ksh93 into an executable.
See: www.kornshell.com

Jim,
Looked at the following link but could not find a compiler for k shell.
any link to ksh compiler will help...
You are right .. I wanna keep my code so that people cannot copy.

I am using Solaris 9/Sun blade.