GE Lua Documentation

Press F to search!

hashStringSHA256

Definition


-- @/=[C]:-1
function hashStringSHA256(...)

Callers

@/lua/ge/extensions/telemetry/core.lua
  eventCount = 0
  sessionId = os.date("!%Y-%m-%dT%H-%M-%SZ") .. "_" .. hashStringSHA256(SecureComm.getRandomBytesHexSlow(256))
@/lua/ge/map.lua
  end
  return hashStringSHA256(tmpBuf:get())
end
  end
  return hashStringSHA256(tmpBuf:get())
end
local function stringToNumber(str)
  str = hashStringSHA256(str)
  local res = 0
@/lua/ge/extensions/editor/levelValidator.lua
        data = prepareData(data)
        local hash = hashStringSHA256(serialize(data))
@/lua/common/jbeam/loader.lua
  --if hashStringSHA256 then
  --  spawnHash = hashStringSHA256(dumps(vehicleDirectories) .. '#' .. jsonEncode(vehicleConfig))
  --end