Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Latest commit

 

History

History
17 lines (15 loc) · 608 Bytes

random.md

File metadata and controls

17 lines (15 loc) · 608 Bytes
title description
random
Documentation of Meteor's `random` package.

The random package provides several functions for generating random numbers. It uses a cryptographically strong pseudorandom number generator when possible, but falls back to a weaker random number generator when cryptographically strong randomness is not available (on older browsers or on servers that don't have enough entropy to seed the cryptographically strong generator).

{% apibox "Random.id" %} {% apibox "Random.secret" %} {% apibox "Random.fraction" %} {% apibox "Random.choice" %} {% apibox "Random.hexString" %}