UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

13 lines (12 loc) • 283 B
//#region src/shared/fnv1a.ts /** FNV-1a over JavaScript UTF-16 code units. */ function fnv1aUtf16(e) { let t = 2166136261; for (let n = 0; n < e.length; n += 1) { t ^= e.charCodeAt(n); t = Math.imul(t, 16777619); } return t >>> 0; } //#endregion export { fnv1aUtf16 as t };