# Sqlcipher\_export adding new tables like ecdUsers instead of ZUSERS table?

**URL:** <https://discuss.zetetic.net/t/sqlcipher-export-adding-new-tables-like-ecdusers-instead-of-zusers-table/4163>\
**Category:** SQLCipher\
**Created:** [December 23, 2019, 5:06pm UTC](https://discuss.zetetic.net/t/sqlcipher-export-adding-new-tables-like-ecdusers-instead-of-zusers-table/4163 "2019-12-23T17:06:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![longfanshotmailcom](https://avatars.discourse-cdn.com/v4/letter/l/ecae2f/32.png) [@longfanshotmailcom](https://discuss.zetetic.net/u/longfanshotmailcom)\
**Post date:** [December 23, 2019, 5:06pm UTC](https://discuss.zetetic.net/t/sqlcipher-export-adding-new-tables-like-ecdusers-instead-of-zusers-table/4163/1 "2019-12-23T17:06:28Z")

</div>

### Expected Behavior

I’m using sqlcipher\_export to encrypte .sqlite file generated with Core Data (Xcode), the new table has new tables like ecdUsers where the original file contains only ZUSERS table.

### Actual Behavior

New table has new tables like ecdUsers where the original file contains only ZUSERS table.

### Steps to Reproduce

Was following steps in this link [https://www.zetetic.net/sqlcipher/sqlcipher-api/](https://www.zetetic.net/sqlcipher/sqlcipher-api/)  
$ ./sqlcipher plaintext.db  
sqlite\> ATTACH DATABASE ‘encrypted.db’ AS encrypted KEY ‘testkey’;  
sqlite\> SELECT sqlcipher\_export(‘encrypted’);  
sqlite\> DETACH DATABASE encrypted;

SQLCipher version:  
Latest as 2019 Dec 23.
