From 65b0d2316d9c05c12eccd4bb7821598af3085ad0 Mon Sep 17 00:00:00 2001 From: Levente Kurusa Date: Wed, 12 Apr 2023 02:57:57 +0200 Subject: 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. --- ext/node/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/node/lib.rs') 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, -- cgit v1.2.3