81 packages matching “primality”
primality
v3.0.0 · 2 years ago
A JavaScript library for prime numbers.
No known vulnerabilities
miller-rabin
v4.0.1 · 8 years ago
Miller Rabin algorithm for primality test
No known vulnerabilities
crypto-miller-rabin
v1.0.1 · 1 year ago
Implementation of the Miller-Rabin primality test.
No known vulnerabilities
lucas-lehmer-test
v4.0.1 · 2 years ago
Lucas-Lehmer primality test
No known vulnerabilities
fermat
v3.0.0 · 2 years ago
Fermat's probabilistic primality test
No known vulnerabilities
primal
v1.1.1 · 10 years ago
Primality test using fast checks and miller-rabin (all in one)
No known vulnerabilities
@marlonwq/primality
v1.0.0 · 4 months ago
A high-performance TypeScript library for primality testing using Miller-Rabin and Fermat algorithms.
No known vulnerabilities
prime-number-theory
v0.9.4 · 1 month ago
Number-theory toolkit: deterministic Miller-Rabin primality, sieve, factorization, Euler totient, gcd/lcm and modular exponentiation.
No known vulnerabilities
primality-test
v4.4.1 · 3 years ago
An implementation of the Miller-Rabin primality test to efficiently determine with high probability whether some arbitrarily-large number is prime.
No known vulnerabilities
miller-rabin-ts
v1.1.0 · 3 years ago
A Miller-Rabin primality test implementation for TypeScript
No known vulnerabilities
pollardsrho
v1.0.9 · 1 year ago
integer factorization using Pollard's rho algorithm with Brent cycle detection, Miller–Rabin primality test
No known vulnerabilities
@danhouseman/prime-engine
v0.10.0 · 18 days ago
High-performance primality testing for JS/TS with zero dependencies. Auto-selects optimal algorithm (Number, BigInt, deterministic 64-bit, arbitrary-precision) based on input.
No known vulnerabilities
@alexvcasillas/erat-o
v1.0.0 · 8 years ago
Eratosthenes primality implementation
No known vulnerabilities
s-bpsw
v1.1.1 · 4 years ago
Test if a number is a prime using Strengthening the Baillie-PSW primality test.
No known vulnerabilities
prime-q
v1.0.2 · 6 years ago
Test if number is prime with Miller–Rabin primality test
No known vulnerabilities
lucas-lehmer
v1.0.1 · 9 years ago
A Javascript Implementation of the Lucas-Lehmer Primality Test for Mersenne Primes
No known vulnerabilities
prime-fun
v1.0.1 · 5 years ago
Suite for testing primality, finding primes, and finding prime k-tuples
No known vulnerabilities
fermat-prime
v1.0.1 · 3 years ago
Uses the Fermat primality test with 100 runs to determine if a number is prime
No known vulnerabilities
miller-rabin-primality
v5.0.1 · 1 year ago
An implementation of the Miller-Rabin primality test to efficiently determine with high probability whether some arbitrarily-large number is prime.
No known vulnerabilities
bigint-crypto-utils
v3.3.0 · 3 years ago
Arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt
No known vulnerabilities