diff --git a/crypto_secretbox.js b/crypto_secretbox.js index 05fb264..f7d0ef7 100644 --- a/crypto_secretbox.js +++ b/crypto_secretbox.js @@ -37,7 +37,7 @@ function crypto_secretbox (c, m, n, k) { c.subarray(0, crypto_onetimeauth_KEYBYTES) ) c.fill(0, 0, crypto_secretbox_BOXZEROBYTES) - return 0 + return true } function crypto_secretbox_open (m, c, n, k) {