executing encrypted files

Hi,

Is there a way of executing encrypted files? I have encrpyted files using vi and crypt, but when I execute the encrypted file, it takes the contents literally (special characters, junk - encrpyted format).

Kind Regards,
Kawah

Once you encrypt a file, you must decrypt it again before it can be used/executed.