0

I am looking to pass some sensitive information along with the URL in my JAVA web application. So now I want to use encryption, base 64 encoding and URL encoding. I am going through various libraries like apache codec, java.net and sun for this but I am looking to use the most latest and secure encoding in my code Which is the best java library I can use for this? Any other latest libraries to encode and decode?

Also, if we encode a string, does it need a seed or a key? (I thought private keys and seeds are used for encryption not for encoding... Isn't it?)

Will the base 64 encoded output for a string ex. "StackOverflow" always be the same? ex."xxxxxxxxx"

[ Looking for best base 64 and URL encoding libaries for now ... Would definitely use encryption algorithms too :) ]

pret
  • 273
  • 3
  • 6
  • 18

1 Answers1

1

If you have sensitive information, you'll want to get an SSL certificate for your site. Don't use base 64 encoding, it's really easy to decode.

wheresmycookie
  • 683
  • 3
  • 16
  • 39
  • Hi Robert, will do that but also looking to know the latest and best base 64 and URL encoding decoding libraries – pret Jul 25 '13 at 06:08
  • Here's another stackoverflow question that you might be interested in: http://stackoverflow.com/questions/13109588/base64-encoding-in-java – wheresmycookie Jul 25 '13 at 06:12
  • Thank you Robert ... Yes, I am looking to do it in JAVA ... also went through this and currently following the same ... please suggest if you get through any other good ones – pret Jul 25 '13 at 06:15