// SPDX-FileCopyrightText: 2024 Chris Duncan <chris@zoso.dev>\r
// SPDX-License-Identifier: GPL-3.0-or-later\r
-\r
+//@ts-nocheck\r
import blake2b from 'blake2b'\r
\r
'use strict';\r
return n;\r
}\r
\r
- function crypto_hash(out, m, n) {\r
+ function crypto_hash_sha512(out, m, n) {\r
var hh = new Int32Array(8),\r
hl = new Int32Array(8),\r
x = new Uint8Array(256),\r
return 0;\r
}\r
\r
- function crypto_hash_blake2b(out, m, n) {\r
+ function crypto_hash(out, m, n) {\r
const input = new Uint8Array(n)\r
for (let i = 0; i < n; ++i) {\r
input[i] = m[i]\r