public static String cipher(String msg){
		String result="",tmp;
		for(int i=0;i<msg.length();++i){
		        tmp=Integer.toHexString(msg.charAt(i));
		        if(tmp.length()<1)
		                tmp="0"+tmp;
		        result+=tmp;
		}
		while(result.length()%32!=0){
		tmp=Integer.toHexString('^');
		        if(tmp.length()<1)
		                tmp="0"+tmp;
		result+=tmp;
		}
		tmp=result;
		result="";
		AES aes=new AES();
		for(int i=0;i<tmp.length();){
						
			result+=aes.encrypt(tmp.substring(i,i+32));
			i+=32;
		}
		return result;
	}