1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Expose SHA256 algorithm to Lua (#14403)

Co-authored-by: chmodsayshello <chmodsayshello@hotmail.com>
This commit is contained in:
sfan5
2024-02-25 18:12:23 +01:00
committed by GitHub
parent fa1d80b53b
commit 762fca538c
4 changed files with 38 additions and 0 deletions

View File

@@ -113,6 +113,9 @@ private:
// sha1(string, raw)
static int l_sha1(lua_State *L);
// sha256(string, raw)
static int l_sha256(lua_State *L);
// colorspec_to_colorstring(colorspec)
static int l_colorspec_to_colorstring(lua_State *L);