cancel
Showing results for 
Search instead for 
Did you mean: 

about UltraliteJ AES DB Encryption on Android

Former Member
0 Kudos
2,767

Hi all,

I found that there is method enableAesDBEncryption() and no setEncrption()in ConfigPersistent interface for Android. Is there any more details/document on that? Is it just by calling enableAesDBEncryption() and the ultralite db on android will be encrypted? if so, what encryption engine is it using? And what's the key?

Thanks so much!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

Yes, calling ConfigPersistent.enableAesDBEncryption() before database creation causes the UltraLite database to be encrypted with the C UltraLite Advanced Encryption Standard symmetric key encryption engine. ConfigPersistent.setDatabaseKey() is used to set the encryption key.