My company is developing mobile applications that require encryption in their functionality for several platforms - iPhone, BlackBerry, J2ME, WinMobile and, possibly, Android in the near future. I tried to find ways to develop our applications, so that all the application logic can be developed in a single code base with a different interface shell for each platform, and PhoneGap seems to be a promising solution.
What I want to ask is whether an application developed in PhoneGap can use encryption such as 3DES, AES, MD5, SHA256, etc.? Since, as far as I understand, the PhoneGap application will be written using web development technologies such as Javascript / CSS, and I'm not too sure about the encryption functions that they provide. (I'm more of an application developer than a web developer)
I was thinking of making my own helper classes for this, but I'm not sure that these classes will be portable on all platforms. For example, if I make these classes using Java, will they be used on the iPhone? And How?
Or, if anyone knows of a better way to do this, please share it. Thank!
-Quinn
source
share