The forum is currently being migrated to a new host. While the migration happens, the old server is still available. Once the new machine is ready, I will copy the database to the new machine. Feel free to ask and answer questions in the meantime.

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!

asked 01 Feb '12, 23:54

mcmugchu's gravatar image

accept rate: 0%

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.

permanent link

answered 02 Feb '12, 09:54

Andy%20Quick's gravatar image

Andy Quick
accept rate: 45%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 01 Feb '12, 23:54

question was seen: 1,952 times

last updated: 02 Feb '12, 09:54