Rust code to generate 1024-bit primes including implementations of arbitrary precision arithmetic and Miller-Rabin Primality test. It accompanies my article on the same topic - https://glitchcomet.com/articles/1024-bit-primes.
Do not use in production or cryptographically secure applications unless you know what you are doing.
MIT License: Copyright (c) Arsh
License.txt