URL Encoding/Decoding
-- Example or encoding and decoding a value for use in a URL.
local text = "'Lua is useful'"
ui.Log("Original Value: " .. text)
local urlEncoded = hash.UrlEncode(text)
ui.Log("Url Encoded: " .. urlEncoded)
local value = hash.UrlDecode(urlEncoded)
ui.Log("Decoded Base64: " .. value)