Lines Matching refs:rand
36613 module.exports = function rand(len) {
36618 function Rand(rand) {
36619 this.rand = rand;
36630 if (this.rand.getBytes) return this.rand.getBytes(n);
36634 res[i] = this.rand.getByte();
45633 elliptic.rand = require('brorand');
47569 var rand = require('brorand');
47621 entropy: options.entropy || rand(this.hash.hmacStrength),
61579 function MillerRabin(rand) {
61580 this.rand = rand || new brorand.Rand();
61585 MillerRabin.create = function create(rand) {
61586 return new MillerRabin(rand);
61595 var a = new bn(this.rand.generate(min_bytes));