• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What serialized object looks like?

 
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I serialized a string "ABC" and sent it over the network. What the
serialized object of "ABC" looks like if someone intercepted it.
 
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you examining intercepts ? - If so, better move to security.

For most traffic, anything in the url other than abcd... and 0-9 pretty much gets encoded by replacing the ascii char with % followed by a two character encoding which is read as it's hex encoding of the numeric ascii value. In POST method, base64 encoding ( which is far from encipherment ) is often used, it will transmit 8-bit ascii as 7-bit ascii ~ using some serious bit-twisting to do the work. If you are asking how an Object gets serialized, ObjectInputStream:
 
reply
    Bookmark Topic Watch Topic
  • New Topic