public String encode(String plain)
	 {
		String key_u=key.toUpperCase();
		String[][] code_matrix=new String[4][25];
		for(int i=0;i<4;i++)
		{
			char cur_c=key_u.charAt(i);
			if(cur_c=='J'){
				cur_c='I';
			}
			int pos=cur_c-'A';
			if(pos>8)//>'J'
			{
				pos--;
			}
			//int cur_num=25*i+1;
			for(int j=0;j<25;j++)
			{
				int cur_num=25*i+j+1;
				String cur_str;
				if(cur_num==100)
				{
					cur_str="00";
				}
				else
				{
					cur_str=(cur_num<10?"0":"")+cur_num;
				}
				code_matrix[i][pos]=cur_str;
				if(pos==24)
				{
					pos=0;
				}
				else
				{
					pos++;
				}
			}
			
		}
		String cipher_text=get_c_text(code_matrix,plain);
		return cipher_text;
	 }