Encrypting File
I have a file which is decrypted i don't know how can anyone tell me how to encrypt it code looks like this i removed middle part because of lenght :

    				<?php //003ab
				if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
				?>
				4+oV52NSwsOZ+kz9BgX+HJer6Cb2I79WFWlCtySBrKHegNIki6kD4StpMQfxxgy3I9TmNMbYL3v7
				zCTj8voeoubLaz2sRpar1hwY2GJ5jGojVrr2fcOmBHauHo0eQ2XvIfwVpVIhAEBWMFpxlTzjQYEB
				T/cY34HzS8ZrsKBsbgCYX93NqX/s+ez0NCsOsoElEBUwYQ5CLCNRIaMa9Fi3uPlKIqPlgIOzxxed
				bnJ2RYZEomrOz/7lBcNWvuGv6+GNxn7jTHUNBxRFlg2yXyPb/UVsOh55QVHBhc2nXWm+/+buPl9S
				1+yCLLuEM/PMTvjh42wTDw+5YxiZSCND0EcMxrkJDAojd7xvsjiiQ03ffsF//GxFHX4eGsT5N2oh
				QFgJHR6vlXCQPLJLIAkfkihIuVEPn6n8rGGsGRWgaMHSq0j2Wept3ZXOU4NKdeGfCIPyh0LHwWcH
				kWWKcWP3vnmVRQrcUHqYHbfnw+FV37YSTVMl9U8FgZ6jIG0KRNSHlvgtMmWQOrAa+YynJndjke02
				K1.......................5Z30==
Encrypting File
===

I have a file which is decrypted i don't know how can anyone tell me how to encrypt it code looks like this i removed middle part because of lenght :

    				<?php //003ab
				if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
				?>
				4+oV52NSwsOZ+kz9BgX+HJer6Cb2I79WFWlCtySBrKHegNIki6kD4StpMQfxxgy3I9TmNMbYL3v7
				zCTj8voeoubLaz2sRpar1hwY2GJ5jGojVrr2fcOmBHauHo0eQ2XvIfwVpVIhAEBWMFpxlTzjQYEB
				T/cY34HzS8ZrsKBsbgCYX93NqX/s+ez0NCsOsoElEBUwYQ5CLCNRIaMa9Fi3uPlKIqPlgIOzxxed
				bnJ2RYZEomrOz/7lBcNWvuGv6+GNxn7jTHUNBxRFlg2yXyPb/UVsOh55QVHBhc2nXWm+/+buPl9S
				1+yCLLuEM/PMTvjh42wTDw+5YxiZSCND0EcMxrkJDAojd7xvsjiiQ03ffsF//GxFHX4eGsT5N2oh
				QFgJHR6vlXCQPLJLIAkfkihIuVEPn6n8rGGsGRWgaMHSq0j2Wept3ZXOU4NKdeGfCIPyh0LHwWcH
				kWWKcWP3vnmVRQrcUHqYHbfnw+FV37YSTVMl9U8FgZ6jIG0KRNSHlvgtMmWQOrAa+YynJndjke02
				K1.......................5Z30==