class Hash
extends MurmurHash3
import { Hash } from "https://deno.land/x/frugal@0.5.0/packages/murmur/mod.ts";
Thin wrapper around MurmurHash3
Methods
digest(type: "raw"): number
compute the digest of all data passed to the hash. The digest can either be:
'raw'
, returning a 32-bit positive integer (the raw result of the mumrmurHash algorithm)'alphanumeric'
(default), returning an alphanumeric string ([a-z0-9])
digest(type?: "alphanumeric"): string