function enc($str){ $s_key = "L0V3LySH:"; $s_vector_iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_3DES, MCRYPT_MODE_ECB), MCRYPT_RAND); $en_str = mcrypt_encrypt(MCRYPT_3DES, $s_key, $str, MCRYPT_MODE_ECB, $s_vector_iv); $en_base64 = base64_encode($en_str); $en_hex = bin2hex($en_str); return $en_hex; } function sucker_enc($str){ for($i=0;$i