ConfigFile encryption

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tijmen Ennik
:warning: Old Version Published before Godot 3 was released.

Is it possible to encrypt a ConfigFile?

:bust_in_silhouette: Reply From: Zylann

Not sure if that’s what you are looking for, but you could try to serialize the ConfigFile and write it using File class encryption, as described here: http://docs.godotengine.org/en/latest/tutorials/engine/encrypting_save_games.html?highlight=encrypting (for savegames but would work for any kind of file)

I don’t understand how this works.
If I do it exactly following this tutorial, it will work.
But how do I encrypt OTHER files? e.g. how do I encrypt ConfigFiles or PackedScene? I’ve been trying it all day, but I just don’t understand it.

Banduck | 2019-02-06 22:50