---------------------------------------------------------------------------
Now for the encryption key.
There are a few sol editing programs out there, which people use to manipulate local save to have better stats, more money, etc. etc.
I am curious as to other methods that are out there, but a method I have found is by taking all the saved data and generating the MD5 hash and saving the hash alongside the data. Then when the data gets loaded again check the MD5 hash of the data with the stored hash data and if they match, the file is good to go.
if the key does not match then you know that the .sol file has been edited. At that point you can take whatever action you want
You can find my MD5 hash tool HERE just put the class file in the same folder with your other classes and use the above function. Slightly edited by me where everything is compiled into a single class with a single function that uses as many variable's as you want. A current project that I am working on contains 86 variable's all different data.
You can find the full classes for MD5 and SHA 1 hashing, Image encoders, and JSON serialization as well as general String, Number and Date APIs at as3corelib. This will need everything to be put into a string then apply the string to the hash tool and save.
If anyone has a different method, by all means please share, or if there are any questions I can assist in any way to get this working.