export function fnv1aHashString(input: string): string { let hash = 0x811c9dc5; for (let index = 0; index < input.length; index += 1) { hash ^= input.charCodeAt(index); hash = Math.imul(hash, 0x01000193); } return `fnv1a:${(hash >>> 0).toString(16).padStart(8, "0")}`; }