netpyoung / SqlCipher4Unity3D

💾 SqlCipher made easy for Unity3d
MIT License
163 stars 37 forks source link

Encryption #6

Closed codercoder111 closed 5 years ago

codercoder111 commented 6 years ago

is there a way to generate the encryption key and change the : iterations key length =128 algorithm = AES

Thanks

netpyoung commented 6 years ago

I think that is what you want. you can encrypt by binary key https://github.com/sqlcipher/sqlcipher#encrypting-a-database

https://github.com/netpyoung/SqlCipher4Unity3D/blob/master/SqlCipher4Unity3D/Assets/SqlCipher4Unity3D/Sqlite3.cs#L174

codercoder111 commented 6 years ago

Yes that is what I want thank you , it works good . I have another question : I'm trying to use "SecureRandom" to use it as a Key is that possible ?

Thanks

netpyoung commented 6 years ago

@codercoder111 what do you means aboutSecureRandom?

netpyoung commented 5 years ago

@codercoder111 plz reopen this issue if you didn't solve that problem or want to comment.