How to re encrypt the same file, that the database will accept it? I want to hack a game save file and then re-encrypt it to make the game accept it again.
idealistically as @attechmaniac9825 said, the key's and the IVs would need to be stored in Keystore or Another encrypted and private Database. Technically you can just store it in a file for testing purposes. As long as you have the original KEY and IV if the encrypted message/file, and the algo used, you can just re-encrypt it back using these keys, IVs and Algo aswell.
Exactly what @ArtTechManiac said. SQLite is usually used in handheld devices, and the best way to go is keeping the keys or passwords in separate login authentication systems present in the device. Whatsapp for instance uses similar techniques. They keeps or atleast used to keep the messages in the sqlite.db, encrypted that db with something crypt12. And the key was stored somewhere that needs root access to view. Once your phone is rooted, you can also decrypt whatsapp. But yes, except that going the KeyStore or KeyChain is the best option.
You may need to save your Key in KeyStore(in Android) or KeyChain(in iOS) fo more security
How to re encrypt the same file, that the database will accept it? I want to hack a game save file and then re-encrypt it to make the game accept it again.
idealistically as @attechmaniac9825 said, the key's and the IVs would need to be stored in Keystore or Another encrypted and private Database. Technically you can just store it in a file for testing purposes. As long as you have the original KEY and IV if the encrypted message/file, and the algo used, you can just re-encrypt it back using these keys, IVs and Algo aswell.
what was the solution for this problem?
Exactly what @ArtTechManiac said. SQLite is usually used in handheld devices, and the best way to go is keeping the keys or passwords in separate login authentication systems present in the device. Whatsapp for instance uses similar techniques. They keeps or atleast used to keep the messages in the sqlite.db, encrypted that db with something crypt12. And the key was stored somewhere that needs root access to view. Once your phone is rooted, you can also decrypt whatsapp. But yes, except that going the KeyStore or KeyChain is the best option.
@@ProfessorVeil where to find the key for the db? What location? What it looks like? I have encontered a _enc.db sqlite3 db file. ANy tips?
How to re encrypt the same file?
That the database will accept it
Please give an answer for this problem. I want to hack a game save file and then re-encrypt it to make the game accept it again.
Hi, how can I contact you?