From 45615cfdeac13a48edfd9997bbb43f816e0091ee Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 24 Nov 2024 21:30:25 -0800 Subject: [PATCH] Delete previously exported hash function. --- src/lib/workers/nano25519.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/lib/workers/nano25519.ts b/src/lib/workers/nano25519.ts index 15f7b35..78213bd 100644 --- a/src/lib/workers/nano25519.ts +++ b/src/lib/workers/nano25519.ts @@ -2306,15 +2306,6 @@ import blake2b from 'blake2b' sign.seedLength = crypto_sign_SEEDBYTES; sign.signatureLength = crypto_sign_BYTES; - hash = function(msg) { - checkArrayTypes(msg); - var h = new Uint8Array(crypto_hash_BYTES); - crypto_hash(h, msg, msg.length); - return h; - }; - - hash.hashLength = crypto_hash_BYTES; - const verify = function(x, y) { checkArrayTypes(x, y); // Zero length arguments are considered not equal. -- 2.34.1