diff options
Diffstat (limited to 'cli/js/ops/get_random_values.ts')
-rw-r--r-- | cli/js/ops/get_random_values.ts | 6 |
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 |