export function hashString(value: string): string { let hash = 0x811c9dc5; for (let index = 0; index < value.length; index += 1) { hash ^= value.charCodeAt(index); hash = (hash * 0x01000193) >>> 0; } return hash.toString(16).padStart(8, "0"); }