# How to use SQLCipher

**URL:** <https://discuss.zetetic.net/t/how-to-use-sqlcipher/2871>\
**Category:** Issues\
**Created:** [May 24, 2018, 7:57am UTC](https://discuss.zetetic.net/t/how-to-use-sqlcipher/2871 "2018-05-24T07:57:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton.mensh](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@anton.mensh](https://discuss.zetetic.net/u/anton.mensh)\
**Post date:** [May 24, 2018, 7:57am UTC](https://discuss.zetetic.net/t/how-to-use-sqlcipher/2871/1 "2018-05-24T07:57:30Z")

</div>

How can i implement SQLCipher encryption - decryption for already created physically SQLite database with added populated row, also able alterable this database via coding in Android Studio.

---

<div class="post-metadata">

**Author:** ![anton.mensh](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@anton.mensh](https://discuss.zetetic.net/u/anton.mensh)\
**Post date:** [May 24, 2018, 8:07am UTC](https://discuss.zetetic.net/t/how-to-use-sqlcipher/2871/2 "2018-05-24T08:07:33Z")

</div>

Hi.  
How can i encrypt existing database with SQLCipher in Android

---

<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:** [May 24, 2018, 1:26pm UTC](https://discuss.zetetic.net/t/how-to-use-sqlcipher/2871/3 "2018-05-24T13:26:46Z")

</div>

Hello @anton.mensh

We have a tutorial for using SQLCipher for Android [here](https://www.zetetic.net/sqlcipher/sqlcipher-for-android/). If you have a plain-text SQLite database, please review the documentation for the `sqlcipher_export(...)` convenience function, specifically example #1 [here](https://www.zetetic.net/sqlcipher/sqlcipher-api/#sqlcipher_export).
