{"library":"crypto-miller-rabin","type":"library","category":null,"description":"This package provides an efficient JavaScript/TypeScript implementation of the Miller-Rabin primality test. It is a probabilistic algorithm used to determine if a large number (represented as a `BigInt`) is *probably* prime, rather than definitively prime. The current stable version is 1.0.1, indicating a stable API with infrequent updates typical for a specialized mathematical algorithm. Key differentiators include its focus solely on the Miller-Rabin test, making it a lightweight option for applications requiring primality testing without a broader cryptographic suite. It ships with TypeScript types, facilitating its use in modern TypeScript projects and ensuring type safety. The library is suitable for scenarios where a high probability of primality is sufficient, such as in certain cryptographic key generation processes or number theory applications.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","crypto","miller","rabin","prime","primality","test","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install crypto-miller-rabin","imports":["import isProbablyPrime from 'crypto-miller-rabin';","import isProbablyPrime from 'crypto-miller-rabin';","import isProbablyPrime from 'crypto-miller-rabin';"]},{"cmd":"yarn add crypto-miller-rabin","imports":[]},{"cmd":"pnpm add crypto-miller-rabin","imports":[]}],"homepage":null,"github":"https://github.com/fabiospampinato/crypto-miller-rabin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/crypto-miller-rabin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/crypto-miller-rabin/compatibility"}}