• Function that generates an array containing prime numbers with given max bit size.

    Returns

    Parameters

    • bitLength: number
    • all: boolean

      if true, all primes are returned, if false, only primes with bit length of bitLength are returned.

    Returns number[]

Generated using TypeDoc