From: Chris Duncan Date: Mon, 25 Nov 2024 05:56:48 +0000 (-0800) Subject: Delete deprecated constants. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=43f40e5e4ee483a35ce67167624dc1744df2a79a;p=libnemo.git Delete deprecated constants. --- diff --git a/src/lib/workers/nano25519.ts b/src/lib/workers/nano25519.ts index c33e57d..e49325b 100644 --- a/src/lib/workers/nano25519.ts +++ b/src/lib/workers/nano25519.ts @@ -2092,23 +2092,10 @@ import blake2b from 'blake2b' return n; } - var crypto_secretbox_KEYBYTES = 32, - crypto_secretbox_NONCEBYTES = 24, - crypto_secretbox_ZEROBYTES = 32, - crypto_secretbox_BOXZEROBYTES = 16, - crypto_scalarmult_BYTES = 32, - crypto_scalarmult_SCALARBYTES = 32, - crypto_box_PUBLICKEYBYTES = 32, - crypto_box_SECRETKEYBYTES = 32, - crypto_box_BEFORENMBYTES = 32, - crypto_box_NONCEBYTES = crypto_secretbox_NONCEBYTES, - crypto_box_ZEROBYTES = crypto_secretbox_ZEROBYTES, - crypto_box_BOXZEROBYTES = crypto_secretbox_BOXZEROBYTES, - crypto_sign_BYTES = 64, + var crypto_sign_BYTES = 64, crypto_sign_PUBLICKEYBYTES = 32, crypto_sign_SECRETKEYBYTES = 64, - crypto_sign_SEEDBYTES = 32, - crypto_hash_BYTES = 64; + crypto_sign_SEEDBYTES = 32; /* High-level API */