Relax restrictions on scrypt log_n
#27716
Labels
crypto
Related to node:crypto or WebCrypto
node compat
upstream
Changes in upstream are required to solve these issues
Version: Deno 2.1.6
Here:
deno/ext/node/ops/crypto/mod.rs
Lines 579 to 585 in 57dd66e
The Result is unwrapped, and it will be an
Err
when len > 64According to the Document here: https://docs.rs/scrypt/latest/scrypt/struct.Params.html#conditions
But the same thing works in Node.js, maybe deno need to consider some alternatives?
The text was updated successfully, but these errors were encountered: