function checkPrimeSync
Jump to headingcheckPrimeSync(candidate: LargeNumberLike,options?: CheckPrimeOptions,): booleanChecks the primality of the candidate.
Parameters Jump to heading
Jump to headingcandidate: LargeNumberLikeA possible prime encoded as a sequence of big endian octets of arbitrary length.
optional
Jump to headingoptions: CheckPrimeOptionsReturn Type Jump to heading
booleantrue if the candidate is a prime with an error probability less than 0.25 ** options.checks.