ohash icon indicating copy to clipboard operation
ohash copied to clipboard

feat(crypto): re-added `murmurHash()` function

Open zsilbi opened this issue 8 months ago • 1 comments

Issue https://github.com/unjs/ohash/issues/156 Partially reverts: https://github.com/unjs/ohash/pull/104

Re-added the murmurHash function:

import { murmurHash } from "ohash/murmur";

// "427197390"
console.log(murmurHash("Hello World"));

Added back the tests for the js implementations. Updated README accordingly.

zsilbi avatar Apr 15 '25 16:04 zsilbi

Can you please keep this for murmurHash and seperate sha256? seems so many changes on cryto-js part, hex addition shouldn't required this much..

pi0 avatar Apr 16 '25 07:04 pi0