Skip to main content

Hashing Algorithms

-- Supporting hashing algorithms
local text = "Lua is useful"

ui.Log("CRC32: " .. hash.CRC32(text))
ui.Log("MD5: " .. hash.MD5(text))
ui.Log("SHA1: " .. hash.SHA1(text))
ui.Log("SHA256: " .. hash.SHA256(text))
ui.Log("SHA384: " .. hash.SHA384(text))
ui.Log("SHA512: " .. hash.SHA512(text))
Last Modified: 07/02/2023