I can't give you code, but I'll give you a hint: Just as important as using the same "algorithm" such as RSA is using the same protocol -- the stuff surrounding the actual algorithm. Having identical conditions on both sides for such things as block size, "salt vector" algorithm, etc, is critical -- you get one byte out of place and you end up with completely garbled data on the other end.
On Jan 18, 8:57 pm, Beginner <[email protected]> wrote: > Right. Thanks for rephrasing my question. > > Which algorithm should I use that's common on both? An example - or > reference link - would be awesome. > > Thanks > > On Jan 18, 8:23 am, DanH <[email protected]> wrote: > > > Use an algorithm that's common to both. > > > On Jan 18, 1:00 am, Beginner <[email protected]> wrote: > > > > Hi, > > > > I'm trying to implement a fairly straight-forward protocol. Where > > > Android clients would encrypt certain data before sending it over to > > > mygoogleappengineserver. However, it seems like there's some > > > significant differences - at least in the default capabilities. It > > > seems I can only really use BouncyCastle on Android. And there's no > > > way GAE supports that. > > > > So... how can I do this? How do I encrypt some data on Android clients > > > with my private key, and decrypt it on GAE (again, using my private > > > key) > > > > Thanks! > > > Ayrton -- 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

