I would be reading the data in once and no modifications would be made. On Oct 5, 6:34 pm, DanH <[email protected]> wrote: > Yeah, a lot depends on whether you'll be reading the entire XML file > at once and extracting everything you need, or going back and > rereferencing it from time to time. > > On Oct 5, 11:18 am, Kostya Vasilyev <[email protected]> wrote: > > > 05.10.2010 19:59, DanH пишет: > > > > If you encrypt the entire XML file you won't be able to use Android's > > > "compiled' XML access tools, and you'll expose the unencrypted file on > > > the phone. If you encrypt individual entries then you have a > > > complicated build process and, due to the shorter elements being > > > encrypted, a more complicated decryption process and (technically) > > > less secure encryption. > > > It's possible to use CipherInputStream to do on-the-fly decryption while > > reading data from a file or from the network. > > > Per-application data files located in phone storage are private, and > > could be used to cache decrypted data. Unless, of course, the user roots > > their phone, but that's not commonplace. > > > -- > > Kostya Vasilyev -- WiFi Manager + pretty widget > > --http://kmansoft.wordpress.com > >
-- 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

