Encryption & compression
Encryption
Easy Save supports AES encryption with an 128-bit key, which can be enabled in the default settings or by using an ES3Settings object as a parameter.
By default encryption is disabled.
1 2 3 4 5 6 7 8 |
// Create a new ES3Settings to enable encryption. var settings = new ES3Settings(ES3.EncryptionType.AES, "myPassword"); // Use the ES3Settings object to encrypt data. ES3.Save("myTransform", this.transform, settings); // Use the ES3Settings object to load and decrypt the data. ES3.LoadInto("myTransform", this.transform, settings); |
Encryption export restrictions
Due to export restrictions some app stores require you to declare that you are using encryption. We are unable to provide advice on this for legal reasons, so for more information please see the appropriate page for the App Store you are using:
Compression
Easy Save supports Gzip compression, which reduces files by 85% on average.
By default compression is disabled, but you can enable it in Window > Easy Save 3 > Settings, or by using an ES3Settings object:
1 2 3 4 5 6 7 8 |
// Create a new ES3Settings to enable compression. var settings = new ES3Settings(ES3.CompressionType.Gzip); // Saving data with compression enabled. ES3.Save("myTransform", this.transform, settings); // Loading compressed data. ES3.LoadInto("myTransform", this.transform, settings); |