SMOOTSARA Active Member Licensed User Longtime User Mar 10, 2018 #1 Hello friends I encoded 3 column of the database with the B4XEncryption library But my database size has increased a lot What suggestion do you have to hide data in the database? Thank you for your guidance
Hello friends I encoded 3 column of the database with the B4XEncryption library But my database size has increased a lot What suggestion do you have to hide data in the database? Thank you for your guidance
KMatle Expert Licensed User Longtime User Mar 10, 2018 #2 Are you talking about SQlite? You can use it with encryption. Take a search. By the way there's always an overhead using encryption. Search Google, too for an answer because it's a general question how to secure db's. Upvote 0
Are you talking about SQlite? You can use it with encryption. Take a search. By the way there's always an overhead using encryption. Search Google, too for an answer because it's a general question how to secure db's.
MarkusR Well-Known Member Licensed User Longtime User Mar 10, 2018 #3 a simple encryption: bitwise exclusive OR (XOR) let the size the same. you can xor byte for byte with a keyword. if you do this again you have back your original. Upvote 0
a simple encryption: bitwise exclusive OR (XOR) let the size the same. you can xor byte for byte with a keyword. if you do this again you have back your original.
SMOOTSARA Active Member Licensed User Longtime User Mar 10, 2018 #4 KMatle said: Are you talking about SQlite? You can use it with encryption. Take a search. By the way there's always an overhead using encryption. Search Google, too for an answer because it's a general question how to secure db's. Click to expand... MarkusR said: a simple encryption: bitwise exclusive OR (XOR) let the size the same. you can xor byte for byte with a keyword. if you do this again you have back your original. Click to expand... hi friends my database has 17000 record before encryption size is 21 Mb after encryption is 250Mb database is sqlite with 5 column I'm worried after the release of the program If my apk is crack, the database is readily read Upvote 0
KMatle said: Are you talking about SQlite? You can use it with encryption. Take a search. By the way there's always an overhead using encryption. Search Google, too for an answer because it's a general question how to secure db's. Click to expand... MarkusR said: a simple encryption: bitwise exclusive OR (XOR) let the size the same. you can xor byte for byte with a keyword. if you do this again you have back your original. Click to expand... hi friends my database has 17000 record before encryption size is 21 Mb after encryption is 250Mb database is sqlite with 5 column I'm worried after the release of the program If my apk is crack, the database is readily read
MarkusR Well-Known Member Licensed User Longtime User Mar 10, 2018 #5 are you sure that is the encryption size 10x? some databases let deleted records in until a cleaning task run. Upvote 0
are you sure that is the encryption size 10x? some databases let deleted records in until a cleaning task run.
SMOOTSARA Active Member Licensed User Longtime User Mar 10, 2018 #6 MarkusR said: are you sure that is the encryption size 10x? some databases let deleted records in until a cleaning task run. Click to expand... Hello and thanks for your help I'm sure that every cell contains a long Json Upvote 0
MarkusR said: are you sure that is the encryption size 10x? some databases let deleted records in until a cleaning task run. Click to expand... Hello and thanks for your help I'm sure that every cell contains a long Json
MarkusR Well-Known Member Licensed User Longtime User Mar 10, 2018 #7 that every cell contains a long Json Click to expand... oh, that wil expand your db surely Last edited: Mar 10, 2018 Upvote 0
OliverA Expert Licensed User Longtime User Mar 10, 2018 #8 arastoo said: before encryption size is 21 Mb after encryption is 250Mb Click to expand... How? Even with a keyword, the size should not change. Upvote 0
arastoo said: before encryption size is 21 Mb after encryption is 250Mb Click to expand... How? Even with a keyword, the size should not change.
OliverA Expert Licensed User Longtime User Mar 10, 2018 #9 arastoo said: that every cell contains a long Json Click to expand... You could also compress the JSON first (use CompressedStreams class from RandomFileAccess library), then XOR the resulting byte array. Upvote 0
arastoo said: that every cell contains a long Json Click to expand... You could also compress the JSON first (use CompressedStreams class from RandomFileAccess library), then XOR the resulting byte array.