Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi!

Is it possible to switch between RC4 and AES on-the-fly??

In our game we have two ini files. One ini we want to encrypt with AES and another ini with RC4.

Thank you!

(1 edit)

I tried it and it is possible!

In the script safe_save_use_aes I put the key as the third argument and I check there  if the key is an array. If yes, then AES functions are returned otherwise -1.

For this in save_save.gml I had to modify the calls of safe_save_use_aes to provide the key as third argument.

:-)

It seems to work without any problems! Anything I might have missed?

Thanks!