def gen_pubpriv_keys(nbits):
    
    (p, q, e, d) = gen_keys(nbits)

    return ( {'e': e, 'n': p*q}, {'d': d, 'p': p, 'q': q} )
Allow file object to already be opened in any of the valid modes and
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/rsa/_version133.py/gen_pubpriv_keys--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/convenience.py/_get_file_mode