encrypt script code

JavaScript
chmod go-rwx <name of script>

Source

Also in JavaScript: