Android Question How to encrypt and decrypt a list?

DaddyDoc

New Member
Hi

Complete Noob here!

I have my data stored in a List

The entries in the list are actually a complex variable Type that I have defined (i.e. each entry in my list is a record containing several variables (e.g. a description, a latitude, a longitude etc)

I need to save the contents of the list to a file in an encrypted form


I see how this can be done with....

raf.WriteEncryptedObject(list1, "some secret password", raf.CurrentPosition)

But rather than use the built-in encryption I need to use my own algorithm

How can I override the encryption algorithm with my own (which is probably beyond my abilities), or how can I access the contents of my List as a series of bytes that I can manipulate (more likely to be within my capabilities)

Obviously I need to decrypt the file when I read it back later!

Many Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…