Fingerprint Redaction Check
Validate safe handling of x-vercel-ja4-digest and create a public-safe fingerprint summary.
redact-ja4.js
const raw = 'sample-ja4-digest-never-public';
const hash = 'hash_' + Buffer.from(raw).toString('base64url').slice(0, 12);
console.log(JSON.stringify({ rawExposed: false, digestHash: hash }, null, 2));