]> zoso.dev Git - libnemo.git/commitdiff
Delete function previously exported but no longer.
authorChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 04:49:33 +0000 (20:49 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 04:49:33 +0000 (20:49 -0800)
src/lib/workers/nano25519.ts

index bc4b79a48a75181437dc515604680da0e9bd6ae7..090a14b5d964fa0de8d5bcd742e979db269e0639 100644 (file)
@@ -2192,12 +2192,6 @@ import blake2b from 'blake2b'
                for (var i = 0; i < arr.length; i++) arr[i] = 0;\r
        }\r
        \r
-       randomBytes = function(n) {\r
-               var b = new Uint8Array(n);\r
-               randombytes(b, n);\r
-               return b;\r
-       };\r
-       \r
        secretbox = function(msg, nonce, key) {\r
                checkArrayTypes(msg, nonce, key);\r
                checkLengths(key, nonce);\r