how to encrypt my shell script program in linux

for security purpose I want to encrypt my shell script program.please give me some idea immediately. I have already try SHC in my server but after using SHC server hang problem is occured.

kindly provide me solution for that.

akm

Hi

If you want to encrypt some output liek file.csv from unix box...which needs to be send by mail then
use the below one..

PASS="type password"
zip -e file.zip file.csv

echo " test mail" > test.txt

(cat test.txt
uuencode file.zip file.zip ) | mail -s "subject" "mailid" < test.txt

Thanks
Sha

shc is limited at best -- if you really want to encrypt it, you're better off using a different language than shell script. As such, shc is what I would recommend; getting somebody to help you troubleshoot the shc problem would seem more fruitful than trying to find a complete replacement for it. Which platform is this on? Can you identify which shell command(s) are responsible for the hang?

how to encrypt a perl file and still be able to execute it.