How to use the rand function from elliptic
Find comprehensive JavaScript elliptic.rand code examples handpicked from public code repositorys.
GitHub: MrE-Fog/FranklinPay-iOS
7906 7907 7908 7909 7910 7911 7912 7913 7914
// Instantiate Hmac_DRBG var drbg = new HmacDRBG({ hash: this.hash, pers: options.pers, persEnc: options.persEnc || 'utf8', entropy: options.entropy || elliptic.rand(this.hash.hmacStrength), entropyEnc: options.entropy && options.entropyEnc || 'utf8', nonce: this.n.toArray() });
0
0
1
+ 2 other calls in file
elliptic.ec is the most popular function in elliptic (164 examples)