hi, i would like to ask if it's possible (and how) to encrypt the tcp header of a message i created with jpcap.
In fact what i have already done is that:
TCPPacket p=new TCPPacket(481,516,23,42,true,false,false,false,false,false,false,false,10,10);
 String TCPHeader = p.toString();
 byte[] TCPHeaderE = SecureData.String(TCPHeader);
  System.out.print("ciphertext : ");
and i encrypt the header, but i cant reverse that and the byte [] TCPHeaderE make it again TCP header...

What can i do?