From df04a34b8dba802bab3b336cc76b096a4cf2d49a Mon Sep 17 00:00:00 2001 From: "Igor Manturov Jr." Date: Sat, 10 Aug 2024 22:01:51 -0400 Subject: [PATCH] Update README.md (Fixed wrong import path) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bccc0fc..11bda1c 100644 --- a/README.md +++ b/README.md @@ -277,7 +277,7 @@ Matches [RFC 2104](https://datatracker.ietf.org/doc/html/rfc2104). ```typescript import { hkdf } from '@noble/hashes/hkdf'; -import { sha256 } from '@noble/hashes/sha'; +import { sha256 } from '@noble/hashes/sha2'; import { randomBytes } from '@noble/hashes/utils'; const inputKey = randomBytes(32); const salt = randomBytes(32);