romario87027 Active Member Licensed User Longtime User Jan 30, 2014 #1 You can enter a password on an existing database of Sqlite?
Erel B4X founder Staff member Licensed User Longtime User Jan 30, 2014 #2 SQLite doesn't have built-in support for encryption. If there is a specific column that you want to encrypt then you can RandomAccessFile.WriteEncryptedObject to convert it to a blob and then put it in the database. Upvote 0
SQLite doesn't have built-in support for encryption. If there is a specific column that you want to encrypt then you can RandomAccessFile.WriteEncryptedObject to convert it to a blob and then put it in the database.
romario87027 Active Member Licensed User Longtime User Jan 30, 2014 #3 I found this on the forum Code: Copy Dim list1 As String Dim Buffer(1024) As Byte Dim raf As RandomAccessFile list1 = ESPCEAN raf.Initialize3(Buffer, False) raf.WriteEncryptedObject(list1, "password", raf.CurrentPosition) ' Error here error java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/crypto/Digest Upvote 0
I found this on the forum Code: Copy Dim list1 As String Dim Buffer(1024) As Byte Dim raf As RandomAccessFile list1 = ESPCEAN raf.Initialize3(Buffer, False) raf.WriteEncryptedObject(list1, "password", raf.CurrentPosition) ' Error here error java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/crypto/Digest
Erel B4X founder Staff member Licensed User Longtime User Jan 31, 2014 #4 See this link: http://www.b4x.com/android/forum/threads/share-encrypted-data-with-b4a.35482/#content Upvote 0