- Preparing search index...
- The search index is not available
bun-types
- hash(data: string | ArrayBuffer | ArrayBufferView, seed?: number): number | bigint
-
Parameters
-
data: string | ArrayBuffer | ArrayBufferView
-
Optional
seed: number
Returns number | bigint
Hash a string or array buffer using Wyhash
This is not a cryptographic hash function.