How can I resolve a linking issue with AES (unresolved externals)?

Linking issue with AES (unresolved externals)

I am having a issue compiling the project when using the static functions from FAES. According to the Unreal Engine documentation it is part of the Core module, which I have included in my project.Build.cs.

I am using Unreal Engine version 4.1.

Linking errors:

Error	1	error LNK2019: unresolved external symbol "public: static void __cdecl FAES::EncryptData(unsigned char *,unsigned int,char *)" (?EncryptData@FAES@@SAXPEAEIPEAD@Z) referenced in function "public: void __cdecl AMyPlayerController::SetStrings(class TArray<class FString,class FDefaultAllocator>)" (?SetStrings@AMyPlayerController@@QEAAXV?$TArray@VFString@@VFDefaultAllocator@@@@@Z)	MyPlayerController.cpp.obj
Error	2	error LNK2019: unresolved external symbol "public: static void __cdecl FAES::DecryptData(unsigned char *,unsigned int,char *)" (?DecryptData@FAES@@SAXPEAEIPEAD@Z) referenced in function "public: void __cdecl AMyPlayerController::GetStrings(class TArray<class FString,class FDefaultAllocator> &)" (?GetStrings@AMyPlayerController@@QEAAXAEAV?$TArray@VFString@@VFDefaultAllocator@@@@@Z)	C:\Unreal Projects\project\Intermediate\ProjectFiles\MyPlayerController.cpp.obj

I looked more closely the Unreal Engine source and it looks to me that is pretty much disabled completely. Maybe it is disabled intentionally in which case it would be nice if it was mentioned in the documentation. Throughout the AES.cpp file there are “#ifdef AES_KEY” macros and AES_KEY is not defined anywhere, which disables all the code.