Files
typebox/docs/values/hash.md

585 B

Home | Installation | Usage | Types | Values | Syntax | TypeRegistry | TypeCheck

Hash

Use the Hash function to create a FNV1A-64 non-cryptographic hash of a value.

const A = Value.Hash({ x: 1, y: 2, z: 3 }); // const A = 2910466848807138541n

const B = Value.Hash({ x: 1, y: 4, z: 3 }); // const B = 1418369778807423581n

Back to Home