Skip to main content

offline_uuid

Function offline_uuid 

Source
pub fn offline_uuid(username: &str) -> String
Expand description

Generates a deterministic offline UUID from a username.

Uses a FNV-1a–inspired mix to produce a UUID v3-style string that is stable across calls for the same username. Suitable for offline-mode Minecraft sessions where a real Microsoft account is not available.