RSA Public/Private Key Calculator

Determines the corresponding key $ k $ for encryption or decryption given two primes $ p, q$ by solving:

$ k_1k_2 \equiv 1 \; (\textsf{mod } (p-1)(q-1)) $

$ k_2 $ $ \equiv 1 $ $ (\textsf{mod} ( $ $ -1) ( $ $ -1))$