I would like help encrypting an array (too bad there is no md5 or sha1 function )
Develop games in your browser. Powerful, performant & highly capable.
I don't think there's a way to directly encrypt a normal array. However the S plugin is able to save to encrypted files. It's the only method I'm aware of with Construct and the plug is really worth looking into.
http://www.scirra.com/forum/viewtopic.php?f=16&t=1613&p=11290&hilit=md5#p11290
Still works.
Just to avoid confusion:
MD5 is NOT an encryption algorithm. It's a hash.
Very true..I was going to post the same.
You actually can encrypt with SHA-1 or MD5 if you use an HMAC...but it is not straightforward:
http://en.wikipedia.org/wiki/HMAC...although I wouldn't recommend using MD5 due to hash collisions.
So in summary.. use S or Python.
Use hash object instead? I think it looks harder to read in notepad at least.