Fixed prime fn doc in README
This commit is contained in:
parent
cbb64b5dd1
commit
b6129550e5
|
@ -281,7 +281,6 @@ export function modPow(b, e, n) {
|
|||
*
|
||||
* @param {number} bitLength The required bit length for the generated prime
|
||||
* @param {number} [iterations = 16] The number of iterations for the Miller-Rabin Probabilistic Primality Test
|
||||
* @param {boolean} sync NOT RECOMMENDED. Invoke the function synchronously. It won't use workers so it'll be slower and may freeze thw window in browser's javascript.
|
||||
*
|
||||
* @returns {Promise} A promise that resolves to a bigint probable prime of bitLength bits.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue