Get a really strong cup of coffee and check out http://java.sun.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html. Use CipherInputStream/OutputStream for encrypting. Not so sure on the PHP side, but http://www.devx.com/webdev/Article/37821 will help you out.
On Nov 23, 1:13 pm, strazzere <[email protected]> wrote: > If you want something secure, do a RSA encryption using a private key > on your server. Your application will fetch this and decrypt using the > public key. You could throw some extra things in there if you'd like, > but that would probably be your best bet. > > On Nov 23, 8:41 am, sixones <[email protected]> wrote: > > > > > Find a common encryption / decryption library that has been > > implemented in PHP and Java (or Python or C). Base64 is encryptable > > and decryptable by both but isnt really secure. > > > On Nov 23, 10:38 am, Fabio <[email protected]> wrote: > > > > What about SSL/TLS ? > > > > On Nov 22, 2:47 pm, jax <[email protected]> wrote: > > > > > What would I use to: Encrypt a string in PHP and Decrypt that string > > > > from Android? What methods are supported by both and which is the > > > > most secure? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

