mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add sha1 to lua utils. (#6563)
This commit is contained in:
parent
416c4535c7
commit
4d9bf75d3a
4 changed files with 40 additions and 0 deletions
|
@ -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(...)`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue