[guardian-dev] SQLCipher: best practices

Hans-Christoph Steiner hans at guardianproject.info
Tue Aug 5 14:55:01 EDT 2014

We have a library for managing SQLCipher and IOCipher passwords, its called


It is used in Courier, InformaCam, ChatSecure and others, so you can look
there for examples.


Cédric Jeanneret wrote:
> Hello,
> I'm considering using SQLCipher in a new app, as it will store location,
> wireless essid and timestamp.
> I've looked at the examples[1], but it seems they are using hard-coded
> password which, obviously, isn't that good…
> How shall I do in order to get some random password? If possible one per
> device, generated at install time or anything like that (well, if that's
> possible, of course ;) ).
> Thanks for your inputs.
> Cheers,
> C.
> [1]
> https://github.com/sqlcipher/android-database-sqlcipher/blob/master/src/example/SQLDemoActivity.java
> _______________________________________________
> Guardian-dev mailing list
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> To Unsubscribe
>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>         Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info
> You are subscribed as: hans at guardianproject.info

PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81

More information about the Guardian-dev mailing list