Hello all,

Trying to implement a REST API in a game and couldn't find a HMAC-SHA256 function in GDscript. Are HMAC functions available?

Thanks!

Yes, saw that also.

First one is a generic XOR "encryption", the second one is an attempt to create encrypt/decrypt functions using SHA256 and AES256 for Godot 2.1 (not exactly an HMAC-SHA256 or any other HMAC implementation), but, as far as I can tell, it went nowhere.

Trying to write one from scratch in GDscript but the output is not matching the expected results when compared to existing implementations for the same key/message pair.

Maybe it's due to my lack of knowledge on GDscript, unsuitable hashing support on it or both.

My goal is to integrate GameAnalytics REST API service in Godot in a way that works for all supported platforms without the need to recompile the engine.

5 years later