code: public byte[] simpleSerial(){
  		byte[] out = new byte[text.length + iv.length + 1];
  		out[0] = (byte) iv.length;
  		System.arraycopy(iv, 0, out, 1, iv.length);
  		System.arraycopy(text, 0, out, iv.length + 1, text.length);
  		return out;
  	}
docs: needs testing
  @return the encryption result as a byte array in the form (ivLength|iv|ciphertext)