this is just prevented other people who can access the devices storage
using terminal through adb or file explorer apps not be able to see the
contents of the xml files as well as media files.

Definitely, for a well trained hacker or expert, they can make a program to
decode all of the data easily.


On Mon, Apr 22, 2013 at 9:14 PM, Jake Bailey <notifications@github.com>wrote:

> In
> opendatakit.collect/src/org/odk/collect/android/application/Collect.java:
>
> >      public static final String TMPFILE_PATH = CACHE_PATH + File.separator + "tmp.jpg";
> >      public static final String TMPDRAWFILE_PATH = CACHE_PATH + File.separator + "tmpDraw.jpg";
> >      public static final String TMPXML_PATH = CACHE_PATH + File.separator + "tmp.xml";
> >      public static final String LOG_PATH = ODK_ROOT + File.separator + "log";
> > -
> > +
> > +    // adding random key for encrypted data
> > +    public static final String KEY_ENCRYPT_DATA = "OPKQJENANSKJDJVASSD123452";
>
> Anybody can read our source on Github, so making the key random doesn't
> really make us more secure :P
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rjbailey/mystatus/pull/24/files#r3909462>
> .
>