module ms_core import crypto.rand pub struct SystemId { mut: base [16]u8 } pub fn get_new_system_id() !SystemId { bytes := rand.bytes(16) or { panic('Could not retireve 16 randrom bytes for system_id!') } mut base := [16]u8{} copy(mut base, bytes) return SystemId{ base: base } }