mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
change the driver which is compatible with sqlcipher and modified the way to connect the encrypted sqlite db file
This commit is contained in:
1 parent
aa2761b10e
commit
f6da0c30ba
5 files changed
+61
-8
No files matched your search
@@ -210,6 +210,7 @@ public final class Db {
|
||||
Connection c = Sqlite.getInstance().getConn();
|
||||
String pubStr = "", priStr = "", certStr, prikeyRawByte = "";
|
||||
int algo, sign;
|
||||
|
||||
if (identity.hasPrivateKey()){
|
||||
byte[] priByte = identity.getPrikey().getBytes();
|
||||
priStr = Base64.getEncoder().encodeToString(priByte);
|
||||
|
||||
Reference in new issue
Block a user