Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Little Security  RSS feed

 
Stephen ODonnell
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a mobile phone app which sends an xml file containing a 'username\password' pair to a web service. I need to encrypt the password before it is sent, then decrypt it on the web service and store it in a database.

What is the most efficient way of going about this task?

I need the encrypted password to be dynamic, therefore I could create a dynamic key. I also need to use symmetric cipher(for speed).

Is PBE suitable, secure enough?
I could create the key, on the mobile app side, and send it as part of the xml file.

I'm new to encryption, so any help greatly appreciated.
Thanks,
Stephen
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!