cryptomancy-prime
Version:
prime number utilities for cryptomancy
7 lines (3 loc) • 339 B
Markdown
This module implements primality tests used to select keys for use in cryptosystems relying on BigInteger modular exponentiation.
It was extracted from [forge](https://github.com/digitalbazaar/forge/blob/master/lib/prime.js), and modified only slightly so as to better support synchronous and asyncronous workflows.