From 4c01227f7e004c2d0fdf6db92ded5c416a249cf8 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sun, 24 Nov 2024 20:49:33 -0800 Subject: [PATCH] Delete function previously exported but no longer. --- src/lib/workers/nano25519.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/workers/nano25519.ts b/src/lib/workers/nano25519.ts index bc4b79a..090a14b 100644 --- a/src/lib/workers/nano25519.ts +++ b/src/lib/workers/nano25519.ts @@ -2192,12 +2192,6 @@ import blake2b from 'blake2b' for (var i = 0; i < arr.length; i++) arr[i] = 0; } - randomBytes = function(n) { - var b = new Uint8Array(n); - randombytes(b, n); - return b; - }; - secretbox = function(msg, nonce, key) { checkArrayTypes(msg, nonce, key); checkLengths(key, nonce); -- 2.34.1