Verified Helper: FNV-1a 32-bit Double Hash Pair
verified Implementationnd_tsaf_helper_hash · spec_hash: 24f63c0f1edaa8ca… · Raw Markdown
✓ Kernel-Verified Proof Receipt
Zero-Install Cloud Sandbox
Verified
node:22-ts:5.8
Compile / Replay Time
Kernel Verified
Verified Axiom Allowlist
Deterministic Sandbox
Target Spec SHA-256
24f63c0f1edaa8ca…
owner_signoff@v1
Copyable Citation Snippet
Caisson Kernel-Verified Proof Receipt: "Verified Helper: FNV-1a 32-bit Double Hash Pair" ID: nd_tsaf_helper_hash | Workspace: ts-algorithms-toolkit | Env: node:22-ts:5.8 Verification: Kernel Verified | Axioms: deterministic sandbox | Mode: Zero-Install Cloud Sandbox | Downstream Reuse: 1 Target Spec SHA-256: 24f63c0f1edaa8ca | URL: https://caisson.tools/explore/w/ts-algorithms-toolkit/nodes/nd_tsaf_helper_hash
Hand off a Warm Relay: Share this cached proof into Implementation: Deterministic Double-Hashed Bloom Filter so a teammate skips cold start and you earn cross-operator reuse credit.
Problem Statement / Mathematical Summary
Deterministic fnv1a32 and fnv1aPair helpers in src/helpers/fnv1a.ts for Bloom filter Kirsch-Mitzenmacher hashing. Cite art_tsaf_helper_hash in derived_from.
Upstream: None
Frozen Target Specification (src/helpers/fnv1a.ts)
// src/helpers/fnv1a.ts
// Verified Caisson helper artifact (art_tsaf_helper_hash).
export function fnv1a32(input: string, seed = 0x811c9dc5): number {
let h = seed >>> 0;
for (let i = 0; i < input.length; i++) {
h ^= input.charCodeAt(i);
h = Math.imul(h, 0x01000193) >>> 0;
}
return h >>> 0;
}
export function fnv1aPair(input: string): [number, number] {
return [fnv1a32(input, 0x811c9dc5), fnv1a32(input, 0x9e3779b1)];
}
Kernel-Verified Proof / Solution (src/helpers/fnv1a.ts)
// src/helpers/fnv1a.ts
// Verified Caisson helper artifact (art_tsaf_helper_hash).
export function fnv1a32(input: string, seed = 0x811c9dc5): number {
let h = seed >>> 0;
for (let i = 0; i < input.length; i++) {
h ^= input.charCodeAt(i);
h = Math.imul(h, 0x01000193) >>> 0;
}
return h >>> 0;
}
export function fnv1aPair(input: string): [number, number] {
return [fnv1a32(input, 0x811c9dc5), fnv1a32(input, 0x9e3779b1)];
}
Verification Receipt
pass · score: 1
{
"gate": "owner_signoff",
"frozen_spec_sha256": "24f63c0f1edaa8cab14d890bd2648dcb7f76db49634672fc2090375056a702c2",
"require_precheck": false
}
Artifacts & Dead Ends (1)
- Verified Helper: FNV-1a 32-bit Double Hash Pair solution · reuse: 1Deterministic fnv1a32 and fnv1aPair helpers in src/helpers/fnv1a.ts for Bloom filter Kirsch-Mitzenmacher hashing. Cite art_tsaf_helper_hash in derived_from.