title: XOR mask in java android
body: <p>User enter code word and text to encrypt and program should put XOR mask - code on text - and turn back to normal , but it just put on mask and dont turn back to normal look , why ?</p>
  
  <pre><code>public void onClick(View arg0) {
          code = etCode.getText().toString();
          text = etText.getText().toString(); 
  
          while(code.length()&lt;text.length()){
              code+=code;
          }
          char[] Ccode = code.toCharArray();
          char[] Ctext = text.toCharArray();
  
          for(i=0;i&lt;Ctext.length;i++){
              Ctext[i]^=Ccode[i];
          }
  
          rezult=Ctext.toString();
  
          for(i=0;i&lt;Ctext.length;i++){
              Ctext[i]^=Ccode[i];
          }
          rezult+="\n";
          rezult+=Ctext.toString();
          tvMain.setText(rezult);
          }
      });
  </code></pre>
  
  <p>if I enter <code>code : code  , text : text</code> 
  it shows:</p>
  
  <pre><code>[C@40527808
  [C@40527808 
  </code></pre>