public static void expandKey(){
		String temp;
		for(int i=0;i<44;++i){
			//System.out.println("Debug:"+exkey);
			if(i==0){
				exkey+=K(0);
			}
			else if(i==1){
				exkey+=K(4);
			}
			else if(i==2){
				exkey+=K(8);
			}
			else if(i==3){
				exkey+=K(12);
			}
			else if(i%4==0){
				temp=Long.toHexString(Long.parseLong(SubWord(RotWord(EK((i-1)*4))),16)^ Long.parseLong(Rcon((i/4)-1),16)^Long.parseLong(EK((i-4)*4),16));
				//padd with zero
				while(temp.length()<8){
					temp="0"+temp;
				}
				exkey+=temp;
			}
			else{
				//System.out.println("EK:"+((i-1)*4));
				temp=Long.toHexString(Long.parseLong(EK((i-1)*4),16) ^ Long.parseLong(EK((i-4)*4),16));
				while(temp.length()<8){
					temp="0"+temp;
				}
				exkey+=temp;

			}
		}
	}