Commit Graph

5 Commits

Author SHA1 Message Date
Emily Stark
9e42f5b37a Add docs for Random.secret 2014-04-17 16:12:24 -07:00
Avital Oliver
ede2e80d48 {{#better_markdown}} -> {{#markdown}} 2014-01-20 00:03:01 -08:00
Emily Stark
2413a8d3ed Use cryptographic PRNGs when available.
This means node's crypto.randomBytes on the server, and
window.crypto.getRandomValues on the client. If node's crypto.randomBytes throws
an exception, we fall back to crypto.pseudoRandomBytes. If
window.crypto.getRandomValues isn't supported by the browser, we fall back to
the alea generator that we had been using previously.
2013-09-25 15:53:04 -07:00
David Glasser
2185b21be5 random docs: feedback from review. 2013-02-13 14:41:31 -08:00
David Glasser
9a7ac87778 Document random package. 2013-02-13 00:42:05 -08:00