I have added sqlcipher-android
to my project. According to the tutorial and the [Q&A](https://PRAGMA cipher_license = ‘OmNpZDowMDFHMDA…’;), executing:
PRAGMA cipher_license = 'OmNpZDowMDFHMDA...';
is necessary to ensure the license is valid.
I am confused about the hardcoded license code. Do you have any suggestions on how to avoid hardcoding the license code?
Hello @chts_cyber_system,
We have already replied to your private support ticket, but in case you find this reply first I have included a similar message below. The Commercial license code does not decrypt any SQLCipher databases, it simply allows the SQLCipher library to operate on encrypted database libraries. Separately, password material is required to access an encrypted database. We strongly discourage customers from hard coding the password material within their application as it not a safe way to secure the password. As the SQLCipher license code simply enables the usage of the library, you are free to embed the license code within your application binary as it will have no impact on the security of the encrypted database files.