File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Little Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Little Security" Watch "Little Security" New topic
Author

Little Security

Stephen ODonnell
Greenhorn

Joined: Sep 07, 2004
Posts: 19
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Little Security