UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAES Struct Reference

#include <AES.h>

Classes

struct  FAESKey
 

Static Public Member Functions

static CORE_API void EncryptData (uint8 *Contents, uint64 NumBytes, const FAESKey &Key)
 
static CORE_API void EncryptData (uint8 *Contents, uint64 NumBytes, const ANSICHAR *Key)
 
static CORE_API void EncryptData (uint8 *Contents, uint64 NumBytes, const uint8 *KeyBytes, uint32 NumKeyBytes)
 
static CORE_API void DecryptData (uint8 *Contents, uint64 NumBytes, const FAESKey &Key)
 
static CORE_API void DecryptData (uint8 *Contents, uint64 NumBytes, const ANSICHAR *Key)
 
static CORE_API void DecryptData (uint8 *Contents, uint64 NumBytes, const uint8 *KeyBytes, uint32 NumKeyBytes)
 

Static Public Attributes

static constexpr uint32 AESBlockSize = 16
 

Member Function Documentation

◆ DecryptData() [1/3]

void FAES::DecryptData ( uint8 Contents,
uint64  NumBytes,
const ANSICHAR Key 
)
static

Decrypts a chunk of data using a specific key

Parameters
Contentsthe buffer to encrypt
NumBytesthe size of the buffer
Keya null terminated string that is a 32 bytes long

◆ DecryptData() [2/3]

void FAES::DecryptData ( uint8 Contents,
uint64  NumBytes,
const FAESKey Key 
)
static

Decrypts a chunk of data using a specific key

Parameters
Contentsthe buffer to encrypt
NumBytesthe size of the buffer
KeyAn FAESKey object containing the decryption key

◆ DecryptData() [3/3]

void FAES::DecryptData ( uint8 Contents,
uint64  NumBytes,
const uint8 KeyBytes,
uint32  NumKeyBytes 
)
static

Decrypts a chunk of data using a specific key

Parameters
Contentsthe buffer to encrypt
NumBytesthe size of the buffer
Keya byte array that is a 32 byte length
NumKeyByteslength of Key byte array, must be 32

◆ EncryptData() [1/3]

void FAES::EncryptData ( uint8 Contents,
uint64  NumBytes,
const ANSICHAR Key 
)
static

Encrypts a chunk of data using a specific key

Parameters
Contentsthe buffer to encrypt
NumBytesthe size of the buffer
Keya null terminated string that is a 32 bytes long

◆ EncryptData() [2/3]

void FAES::EncryptData ( uint8 Contents,
uint64  NumBytes,
const FAESKey Key 
)
static

Encrypts a chunk of data using a specific key

Parameters
Contentsthe buffer to encrypt
NumBytesthe size of the buffer
KeyAn FAESKey object containing the encryption key

◆ EncryptData() [3/3]

void FAES::EncryptData ( uint8 Contents,
uint64  NumBytes,
const uint8 KeyBytes,
uint32  NumKeyBytes 
)
static

Encrypts a chunk of data using a specific key

Parameters
Contentsthe buffer to encrypt
NumBytesthe size of the buffer
Keya byte array that is a 32 byte length
NumKeyByteslength of Key byte array, must be 32

Member Data Documentation

◆ AESBlockSize

constexpr uint32 FAES::AESBlockSize = 16
staticconstexpr

The documentation for this struct was generated from the following files: