开发者

Has anyone had success encrypting an unencrypted SQLite db?

开发者 https://www.devze.com 2023-03-30 17:17 出处:网络
This link: https://github.com/probertson/air-sqlite/blob/DB-copy-dev/src/com/probertson/data/DBCopier.as has an interesting class to do just that! Encrypt an unencrypted database: but I\'m having diff

This link: https://github.com/probertson/air-sqlite/blob/DB-copy-dev/src/com/probertson/data/DBCopier.as has an interesting class to do just that! Encrypt an unencrypted database: but I'm having difficulty with a few things:

You can find where the author, @probertson, suggested using his solution here!

Now I've got the following error:

Compiler Error:

开发者_如何学运维
Error #2044: Unhandled error:. text=Error #3125: Unable to open the database

Let me start by saying the source file works, since I've been using it (and the path) in another application.

The error arises in the call to attach the source db to the newly created db.

Any ideas?

Thanks for any help!


  1. EncrypterProgressPhase class doesn't exist as far as I can tell in his codebase, the owner probably forgot to add it to the git repo.
  2. start() will work as long as the the class compiles (see point 1)
  3. see point 2
0

精彩评论

暂无评论...
验证码 换一张
取 消