# SQLCipher API used

**URL:** <https://discuss.zetetic.net/t/sqlcipher-api-used/4299>\
**Category:** SQLCipher\
**Created:** [March 20, 2020, 11:56pm UTC](https://discuss.zetetic.net/t/sqlcipher-api-used/4299 "2020-03-20T23:56:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torobert](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/torobert/32/1277_2.png) [@Torobert](https://discuss.zetetic.net/u/Torobert)\
**Post date:** [March 20, 2020, 11:56pm UTC](https://discuss.zetetic.net/t/sqlcipher-api-used/4299/1 "2020-03-20T23:56:54Z")

</div>

Hi,

Somebody know what’s APIs are being used internally on SQLcipher?, i have performance issues with an implementation when use an older vs newer cellphone

the older cellphone have better performance

---

<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:** [March 22, 2020, 11:39pm UTC](https://discuss.zetetic.net/t/sqlcipher-api-used/4299/2 "2020-03-22T23:39:27Z")

</div>

@Torobert it depends on the platform. What platform are you using, and what phones?

---

<div class="post-metadata">

**Author:** ![Torobert](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/torobert/32/1277_2.png) [@Torobert](https://discuss.zetetic.net/u/Torobert)\
**Post date:** [March 23, 2020, 3:45pm UTC](https://discuss.zetetic.net/t/sqlcipher-api-used/4299/3 "2020-03-23T15:45:47Z")

</div>

thanks sjlombardo, we are using Zebra TC55 with android 4.4 and Zebra TC56 with android 6,7 and 8

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [March 23, 2020, 4:14pm UTC](https://discuss.zetetic.net/t/sqlcipher-api-used/4299/4 "2020-03-23T16:14:28Z")

</div>

Hi @Torobert

If you haven’t had an opportunity to review our general [SQLCipher Performance Optimization](https://discuss.zetetic.net/t/sqlcipher-performance-optimization/14) yet I would suggest starting there to better evaluate the performance in the context of your application usage.

---

<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:** [March 23, 2020, 6:25pm UTC](https://discuss.zetetic.net/t/sqlcipher-api-used/4299/5 "2020-03-23T18:25:50Z")

</div>

@Torobert - in addition to general performance tuning items, it would be worthwhile to try disabling the memory security and wiping feature with this pragma: `PRAGMA cipher_memory_security = OFF;`. There have been a couple reports of performance disparities between certain device / operating system combinations. Try that to rule it out first.

---

<div class="post-metadata">

**Author:** ![Torobert](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/torobert/32/1277_2.png) [@Torobert](https://discuss.zetetic.net/u/Torobert)\
**Post date:** [March 23, 2020, 6:46pm UTC](https://discuss.zetetic.net/t/sqlcipher-api-used/4299/6 "2020-03-23T18:46:43Z")

</div>

thank all, we use the performance tuning items, PRAGMA cipher\_memory\_security = OFF functions very well, but the principal problem is just with TC56, because if we test the same app with any cellphone with android 6,7 and 8 we don’t see the performance issues, we contacted the supplier but they need more information about sqlcipher api

---

<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:** [March 23, 2020, 7:01pm UTC](https://discuss.zetetic.net/t/sqlcipher-api-used/4299/7 "2020-03-23T19:01:16Z")

</div>

Hello @Torobert. SQLCipher for Android uses OpenSSL as the cryptographic provider.
