action="store_true", ) parser.add_argument( "--dumpkey", help="Just dump the RSA variables from a key - n,e,d,p,q", action="store_true", ) parser.add_argument( "--ext", help="Extended dump of RSA private variables in --dumpkey mode - dp,dq,pinv,qinv).", action="store_true", ) parser.add_argument("--uncipherfile", help="uncipher a file", default=None) parser.add_argument("--uncipher", help="uncipher a cipher", default=None) parser.add_argument( "--verbosity", help="verbose mode", choices=logger_levels.keys(), default="INFO" ) parser.add_argument( "--private", help="Display private key if recovered", action="store_true" ) parser.add_argument("--tests", help="Run tests on attacks", action="store_true") parser.add_argument( "--ecmdigits", type=int, help="Optionally an estimate as to how long one of the primes is for ECM method", default=None, ) parser.add_argument("-n", help="Specify the modulus. format : int or 0xhex") parser.add_argument( "-p", help="Specify the first prime number. format : int or 0xhex" )
parser.add_argument( "--dumpkey", help="Just dump the RSA variables from a key - n,e,d,p,q", action="store_true", ) parser.add_argument( "--ext", help= "Extended dump of RSA private variables in --dumpkey mode - dp,dq,pinv,qinv).", action="store_true", ) parser.add_argument("--uncipherfile", help="uncipher a file", default=None) parser.add_argument("--uncipher", help="uncipher a cipher", default=None) parser.add_argument("--verbosity", help="verbose mode", choices=logger_levels.keys(), default="INFO") parser.add_argument("--private", help="Display private key if recovered", action="store_true") parser.add_argument( "--ecmdigits", type=int, help= "Optionally an estimate as to how long one of the primes is for ECM method", default=None, ) parser.add_argument("-n", help="Specify the modulus. format : int or 0xhex") parser.add_argument( "-p", help="Specify the first prime number. format : int or 0xhex")