Replaced sqlite implementation with sqlcipher.