function checkPrimeSync
checkPrimeSync(candidate: LargeNumberLike,options?: CheckPrimeOptions,): boolean
Deprecated
Checks the primality of the candidate
.
candidate: LargeNumberLike
A possible prime encoded as a sequence of big endian octets of arbitrary length.
optional
options: CheckPrimeOptions
boolean
true
if the candidate is a prime with an error probability less than 0.25 ** options.checks
.