Input for keylength and Miller-Rabin parameter added