# SQLCipher and Node compatibility

**URL:** <https://discuss.zetetic.net/t/sqlcipher-and-node-compatibility/1674>\
**Category:** SQLCipher\
**Created:** [September 13, 2016, 2:56pm UTC](https://discuss.zetetic.net/t/sqlcipher-and-node-compatibility/1674 "2016-09-13T14:56:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![txm](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/txm/32/412_2.png) [@txm](https://discuss.zetetic.net/u/txm)\
**Post date:** [September 13, 2016, 2:56pm UTC](https://discuss.zetetic.net/t/sqlcipher-and-node-compatibility/1674/1 "2016-09-13T14:56:24Z")

</div>

Hi,

I can create/open/update an encrypted SQLite DB with SQLCipher and Datum.

I can do the same with Node’s sqlite-crypto and other JS modules.

What I can’t do is get compatibility between SQLCipher and sqlite-crypto.

Both are set to aes-256-cbc.

I’ve read somewhere about character padding …

Thanks

---

<div class="post-metadata">

**Author:** ![sjlombardo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/sjlombardo/32/3_2.png) [@sjlombardo](https://discuss.zetetic.net/u/sjlombardo)\
**Post date:** [September 13, 2016, 6:31pm UTC](https://discuss.zetetic.net/t/sqlcipher-and-node-compatibility/1674/2 "2016-09-13T18:31:20Z")

</div>

Hello @txm sqlite-crypto does not use SQLCipher. It appears to fully encrypt and decrypt the database file in its entirety, which is completely different from the way SQLCipher works. Therefore, the two are not compatible.
