GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for Crypto: getRandomValues() method.

Developer library 6

Firefox 21 release notes for developers

arious keyCode values for OEM specific keys on Windows are now supported again ([Firefox bug 833719](https://bugzil.la/833719)). - The function [`window.crypto.getRandomValues`](/docs/Web/API/Crypto/getRandomValues) has been implemented ([Firefox bug 440046](https://bugzil.la/440046)). - The non-standard methods `NodeIterator.expandEntityReferences()` and `TreeWalker.expandEntityReferences()` have been removed ([Fire

Math.random()

rovide cryptographically secure random numbers. Do not use them for anything related to security. Use the Web Crypto API instead, and more precisely the Crypto.getRandomValues() method. JavaScript Demo: Math.random() ```js interactive-example function getRandomInt(max) { return Math.floor(Math.random() * max); } console.log(getRandomInt(3)); // Expected output: 0, 1 or 2 console.log(getRandomInt(1)); // Expecte

Crypto

rns a SubtleCrypto object providing access to common cryptographic primitives, like hashing, signing, encryption, or decryption. ## Instance methods - Crypto.getRandomValues() - : Fills the passed TypedArray with cryptographically sound random values. - Crypto.randomUUID() - : Returns a randomly generated, 36 character long v4 UUID. ## Specifications ## Browser compatibility ## See also - [Web security

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/Crypto

Crypto: getRandomValues() method

Web Crypto API The **`Crypto.getRandomValues()`** method lets you get cryptographically strong random values. The array given as the parameter is filled with random numbers (random in its cryptographic meaning). To guarantee enough performance, implementations are not using a truly random number generator, but they are using a pseudo-random number generator _seeded_ with a value with enough entropy. The pseudo-rand

Crypto: randomUUID() method

8f84d-df4e-4d49-b662-bcde71a8764f" ``` ## Specifications ## Browser compatibility ## See also - [Web Crypto API](/docs/Web/API/Web_Crypto_API) - Crypto.getRandomValues, a source for arbitrary amounts of secure random bytes.

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID

Window: crypto property

rable to attack by polyfill. Although `crypto` is available on all windows, the returned `Crypto` object only has one usable feature in insecure contexts: the getRandomValues() method. In general, you should use this API only in secure contexts. ## Value An instance of the Crypto interface, providing access to general-purpose cryptography and a strong random-number generator. ## Examples This example uses the `c

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto

JSON results · Services directory