Hi, I'm posting here my experience as a new user because although it's simple with the documentation, I struggled a bit.
If I understood correctly, to encrypt you just have to put AES in Easy Save in Unity
and by code I had a problem with the documentation that gives:
var settings = new ES3Settings(ES3.EncryptionType.AES, myPassword);
it gives me an error message, finally I had to add a location exemple:
settings = new ES3Settings("test.es3", ES3.EncryptionType.AES, "test");
Encryption new user
Re: Encryption new user
Hi there, and thanks for the feedback.
I think you may be mistaken. Using the following code is valid:
I suspect the reason that it wasn't working for you is because the default file already had unencrypted data saved to it, and saving encrypted data to an unencrypted file will fail. This is why specifying a filename worked: because it's then saving to a new file with no existing save data.
All the best,
Joel
I think you may be mistaken. Using the following code is valid:
Code: Select all
var settings = new ES3Settings(ES3.EncryptionType.AES, myPassword);
All the best,
Joel
Re: Encryption new user
You're right, thank you for taking the time to answer me =)