summaryrefslogtreecommitdiff
path: root/doc/client_lua_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/client_lua_api.md')
-rw-r--r--doc/client_lua_api.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md
index ab72bbccf..8ef3bfb2e 100644
--- a/doc/client_lua_api.md
+++ b/doc/client_lua_api.md
@@ -628,6 +628,9 @@ Minetest namespace reference
version entirely. To check for the presence of engine features, test
whether the functions exported by the wanted features exist. For example:
`if minetest.nodeupdate then ... end`.
+* `minetest.sha1(data, [raw])`: returns the sha1 hash of data
+ * `data`: string of data to hash
+ * `raw`: return raw bytes instead of hex digits, default: false
### Logging
* `minetest.debug(...)`