Limen Framework 0.1 Help

FLimenOnlineUtils

Overview

FLimenOnlineUtils provides static methods to encrypt and decrypt data. It uses the Advanced Encryption Standard (AES) algorithm with a 32-byte key derived from a provided string using SHA1 hashing. The encrypted data is then encoded in Base64 for safe transmission or storage.

Properties

Type

Name

Access

Description

None

None

None

None

Functions

Return Type

Signature

Description

FString

Encrypt(const TArray

& Data, const FString& Key)

Encrypts the input data using AES encryption with a key derived from SHA1. Returns the encrypted data as a Base64 string. Logs a warning if the key is empty.

TArray

Decrypt(const FString& Data, const FString& Key)

Decrypts the input Base64 encoded data using AES decryption with a key derived from SHA1. Returns the decrypted data. Logs warnings if the key is empty or if Base64 decoding fails.

Usage & Implementation Notes

  • The encryption and decryption processes involve generating a 32-byte AES key from a provided string using SHA1 hashing.

  • Data padding is added to ensure it is a multiple of the AES block size before encryption.

  • Encrypted data is encoded in Base64 for safe transmission or storage.

  • Zero-padding is removed from decrypted data after decryption.

22 May 2026