summaryrefslogtreecommitdiff
path: root/ext/node/lib.rs
diff options
context:
space:
mode:
authorLevente Kurusa <lkurusa@kernelstuff.org>2023-04-12 02:57:57 +0200
committerGitHub <noreply@github.com>2023-04-12 02:57:57 +0200
commit65b0d2316d9c05c12eccd4bb7821598af3085ad0 (patch)
tree8452365cbb20b3d9992afe9b2c7095a430e6b277 /ext/node/lib.rs
parent8820f6e922d3332d0fdd035b504897503d4cdf3a (diff)
refactor(node/crypto): port polyfill to Rust for randomInt, randomFill, randomFillSync (#18658)
Pretty much as per the title, I'd welcome some feedback especially around the array/buffer handling in the two randomFill functions.
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r--ext/node/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index 3ef761cb7..b73c3366f 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -194,6 +194,7 @@ deno_core::extension!(deno_node,
crypto::op_node_generate_secret,
crypto::op_node_generate_secret_async,
crypto::op_node_sign,
+ crypto::op_node_random_int,
crypto::x509::op_node_x509_parse,
crypto::x509::op_node_x509_ca,
crypto::x509::op_node_x509_check_email,