bigint-crypto-utils

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

micro-rsa-dsa-dh

Minimal implementation of older cryptography algorithms: RSA, DSA, DH, ElGamal

crypto-random-prime

Generate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.