kirk-bond / ACSC-2018

1 stars 2 forks source link

Add crypto-2: RSA with weak key generation #65

Closed shareef12 closed 6 years ago

shareef12 commented 6 years ago

This problem encrypts the flag using RSA with a secure padding mode and a ~2048 bit key. However key generation is weak as we generate a pool of 20 primes at startup and reuse them. To derive the private key, competitors will need to compute the GCD of two moduli with a shared factor.