UEC++ From Basics to Advanced | M27-007: HMAC-SHA256 Encryption in Unreal Engine
This lesson implements HMAC-SHA256 encryption using OpenSSL in UE5. The instructor writes a C++ encryption function that takes binary data and an API secret key, returning a 32-byte HMAC digest. The implementation calls OpenSSL's HMAC function directly, with careful handling of input pointers, data lengths, and output buffers. The lesson also demonstrates using FBase64Encode to convert the binary digest to a Base64 string for HTTP transmission. The instructor explains why directly using OpenSSL is preferable to Unreal's platform encryption module, which varies across engine versions and platforms. The lesson also covers testing encryption output with online HMAC tools and Python scripts, emphasizing the importance of verifying encryption correctness before debugging API integration issues. This encryption function is critical for iFLYTEK API authentication. Students learn the complete HMAC-SHA256 workflow: constructing the signature string from host, date, and request line parameters, encrypting with the API secret, Base64-encoding the result, and including it in the Authorization header of every API request.

UEC++ From Basics to Advanced | M27-008: Initializing the Plugin Environment

How 1999 Quake 3 Teaches Elite Software Engineering

Can you write `md5` in Pure Bash? (100% bash, no external tools)

UEC++ From Basics to Advanced | M36-002: Creating a Blank Project

The State of AI Coding Is Honestly Terrifying

Android 17 sucks. So I put Linux on a phone.

The Most Important Conversation in AI Right Now

Tips for C Programming

Maybe It’s Time to Leave Windows

Async Rust explained in 20 minutes

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

UEC++ From Basics to Advanced | M36-009A: Completing the Jump Ability

UEC++ From Basics to Advanced | M36-004: Creating Game Rule Base Classes

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)

Keynote: Benchmarking - It's About Time - Matt Godbolt - C++Now 2026

This Post Office Was Totally Out of Control | 100% Cat Mail Co.

Inflation, Deficits, Interest Rates: Warning, Immediate Danger!

OpenAI Claims Their AI 'Went Rogue'. It Didn't.

