Encryption
Last updated
Last updated
AES
(Advanced Encryption Standard) is an encryption algorithm used to securely protect data. It uses a specific key to encrypt the data, making it impossible to understand the encrypted content without this key. The encryption process hides the original data using complex mathematical transformations to ensure its security. The same key is also used to decrypt the data, allowing the original content to be retrieved quickly and reliably, ensuring both efficiency and strong protection.
Encryption settings in Tarsave are managed through a ScriptableObject-based configuration
. Developers can create an encryption configuration asset by navigating to the Tarsave/AESCryptographyConfig
menu in the Unity editor's Asset menu. This asset allows you to define and manage the Key and IV values required for encryption, tailored to the desired key size.
The created configuration asset must be referenced in the DataPersistenceConfig
to ensure that your save and load operations utilize the specified encryption settings. This approach simplifies encryption management, providing a secure and organized way to handle data protection.