Put prime numbers for base and modulus and other numbers for the secret numbers (private keys) and everything will automatically be calculated!