• Post Reply Bookmark Topic Watch Topic
  • New Topic

base64Encoding

 
nanda kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is base64Encoding? Where can i find some information as how i can convert a string into base64Encoding? What is the logic behind using base64Encoding?
Thanks
 
Vernon Gibson
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nanda,
Try this site: http://freesoft.org/CIE/RFC/2065/56.htm
Regards,
Vernon
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use the sun.misc.BASE64Encoder too.
 
Rahul Rathore
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many protocols such as HTTP, POP, IMAP require that certain data (eg. image data) be encoded into a textual format before transmitting over the network, using BASE64 encoding. The sender must encode such data in BASE64, and the receiver must decode the data from BASE64 to original format.
See this for an example of how the client encodes data to be sent to the server, and decode data received from the server:- http://www.javaranch.com/ubb/Forum8/HTML/000274.html

[This message has been edited by Rahul Rathore (edited March 15, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!