> On Jul 23, 2015, at 5:15 PM, Brendan Duddridge <[email protected]> wrote:
> 
> Would compacting the database after the values are encrypted remove the old 
> revisions with the unencrypted data?

Yes, compacting the database removes all obsolete revisions.

—Jens

PS: Off-topic, but: make sure you’re following best practices to encrypt the 
data. Many symmetric ciphers have the dangerous property that, if you ever 
encrypt multiple messages with the same key, it becomes easy to extract the key 
from the ciphertexts. (I was just reading some crypto docs over the weekend so 
this is fresh in my mind.)

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/94959F57-9444-490A-9E34-895305412C48%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to