Navigation
API > API/Runtime > API/Runtime/Core
The currently implemented approach has the shortcoming that it encrypts and decrypts each 128-bit block separately. If the plaintext contains identical 128-byte blocks, the blocks will be encrypted identically. This makes some of the plaintext structure visible in the ciphertext, even to someone who does not have the key. DO NOT USE this functionality for any new place where you might need encryption. Because current code is meant for keeping backwards compatiblity with existing data. Better way to use AES would be integrated with authentication, for example, in AES-GCM mode.
| Name | FAES |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/AES.h |
| Include Path | #include "Misc/AES.h" |
Syntax
struct FAES
Structs
| Name | Remarks |
|---|---|
| FAESKey | Class representing a 256 bit AES key |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AESBlockSize | uint32 | Misc/AES.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DecryptData
(
uint8* Contents, |
Decrypts a chunk of data using a specific key | Misc/AES.h | |
static void DecryptData
(
uint8* Contents, |
Decrypts a chunk of data using a specific key | Misc/AES.h | |
static void DecryptData
(
uint8* Contents, |
Decrypts a chunk of data using a specific key | Misc/AES.h | |
static void EncryptData
(
uint8* Contents, |
Encrypts a chunk of data using a specific key | Misc/AES.h | |
static void EncryptData
(
uint8* Contents, |
Encrypts a chunk of data using a specific key | Misc/AES.h | |
static void EncryptData
(
uint8* Contents, |
Encrypts a chunk of data using a specific key | Misc/AES.h |