This is a very basic implementation of RSA. PLEASE do NOT use in production. If you are looking for a cryptographically secure implementation, look at the official list by NIST.
this implementation relies on the ibig crate and generates large (~1024 bits) numbers.