summaryrefslogtreecommitdiff
path: root/cli/js/ops/get_random_values.ts
diff options
context:
space:
mode:
authorcrowlKats <crowlkats@gmail.com>2020-03-13 10:22:22 +0100
committerGitHub <noreply@github.com>2020-03-13 10:22:22 +0100
commite435c2be158ce8657dbff0664b6db222fe4e586c (patch)
treeb0e72033be2ce51a70fd2c2af23e6da131a642bb /cli/js/ops/get_random_values.ts
parent3ac642c183981a366e1db565c16b81f864b07ee4 (diff)
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/js/ops/get_random_values.ts')
-rw-r--r--cli/js/ops/get_random_values.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/cli/js/ops/get_random_values.ts b/cli/js/ops/get_random_values.ts
index 0e384c259..1dc56b698 100644
--- a/cli/js/ops/get_random_values.ts
+++ b/cli/js/ops/get_random_values.ts
@@ -2,12 +2,6 @@
import { sendSync } from "./dispatch_json.ts";
import { assert } from "../util.ts";
-/** Synchronously collects cryptographically secure random values. The
- * underlying CSPRNG in use is Rust's `rand::rngs::ThreadRng`.
- *
- * const arr = new Uint8Array(32);
- * crypto.getRandomValues(arr);
- */
export function getRandomValues<
T extends
| Int8Array