From e6f54363ec84ed0deda410a816ccdb48058e39cd Mon Sep 17 00:00:00 2001 From: Caleb Kniffen Date: Wed, 20 Sep 2023 14:14:56 -0500 Subject: [PATCH] docs: update ripemd160 example The ripemd160 example was not referencing `ripemd160.create` as a static method. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7aeebd8..083d877 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ const rand1b = p.fetch(1); import { ripemd160 } from '@noble/hashes/ripemd160'; // function ripemd160(data: Uint8Array): Uint8Array; const hash8 = ripemd160('abc'); -const hash9 = ripemd160() +const hash9 = ripemd160 .create() .update(Uint8Array.from([1, 2, 3])) .digest();