I saw in the release notes for Couchbase Lite developer build 16 that encryption is supported. I could not find documentation on how to use it. (I think the docs from 1.4 do not apply to 2.0 )
On my UWP .net target I got encryption working simply by setting EncryptionKey
var couchbaseDbConfig = new DatabaseConfiguration
{
Directory = dbPath,
EncryptionKey = EncryptionKeyFactory.Create(),
};
mDB = new Couchbase.Lite.Database(“DbName”, couchbaseDbConfig);
However on my Android target (using Xamarin) it doesn’t work, I get System.NotImplementedException with “Encryption is not yet supported”.
Is it really not yet implemented on Android ? Or am I doing something wrong ?
How about iOS, can I use SQLCipher there ?