Personally I prefer 3DES.  Chilkat has a really nice set of cross-platform,
cross-language libraries for encryption.
 On Jul 6, 2012 3:47 AM, "Francisco M. Marzoa Alonso" <[email protected]>
wrote:

> Hi there,
>
> I am looking for a way to obfuscate some strings in a way that they may
> be "unobfuscated" later.
>
> The point is that my app -a casual game- will take some lines from a
> file on an http server, and I do not want to have it as readable plain
> text. Please, note that I do not care if a user takes the effort to
> decode and read it. There he will find the solutions to some game levels
> no more, what I want is just to protect users to see the solutions even
> by accident, but if some one wants to cheat, I do not give a damn.
>
> I also like that the result of encoding process is still a readable
> string, so the file may be threat as a text file still and not as a
> binary one.
>
> Also it should be standard or very easy to implement, so I can generate
> compatible encoded strings using PHP also to decode later with Java.
>
> I tried first with Android's Base64 class that seems to be a perfect
> solution, but it requires API Level 8, so 2.1 devices are discarded and
> I do not want that.
>
> I think a XOR encoding may produce binary output at encoding.
>
> MD5 is discarded for obvious reasons: it is not reversible.
>
> Any ideas?
>
> Thanks a lot in advance,
>
> --
> 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

-- 
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

Reply via email to