crypto-random-prime
Version:
Generate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.
3 lines (2 loc) • 93 B
TypeScript
Generate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.