// SPDX-FileCopyrightText: 2024 Chris Duncan <chris@zoso.dev>\r
// SPDX-License-Identifier: GPL-3.0-or-later\r
-//@ts-nocheck\r
+\r
import blake2b from 'blake2b'\r
\r
'use strict';\r
// See for details: https://docs.nano.org/integration-guides/the-basics/\r
// Original source commit: https://github.com/dchest/tweetnacl-js/blob/71df1d6a1d78236ca3e9f6c788786e21f5a651a6/nacl-fast.js\r
\r
- var gf = function(init?) {\r
+ var gf = function(init?: any) {\r
var i, r = new Float64Array(16);\r
if (init) for (i = 0; i < init.length; i++) r[i] = init[i];\r
return r;\r
}\r
})();\r
\r
- export { box, hash, randomBytes, scalarMult, secretbox, sign, verify }\r
+ export { sign, verify }\r