This generates two random prime numbers of size 1024 and 2 respectively. Originally needed to perform diffie-hellman key exchange to generate private keys for <a href="https://justa.ml" rel="nofollow">https://justa.ml</a>. Eventually I worked on other projects that required this - so I thought to make this a service for other apps to consume. Originally used a script to generate some large primes and saved them in a file. So this service does not generate them on the fly.