From: Chris Duncan Date: Mon, 25 Nov 2024 04:49:33 +0000 (-0800) Subject: Delete function previously exported but no longer. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=4c01227f7e004c2d0fdf6db92ded5c416a249cf8;p=libnemo.git Delete function previously exported but no longer. --- 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);