Has anyone had success encrypting an unencrypted SQLite db?
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!
- 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.
- start() will work as long as the the class compiles (see point 1)
- see point 2
精彩评论