<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def newkeys(nbits=1024):
 """ Create a new pair of public and private key pair to use. """

        pubkey, privkey = rsa.newkeys(nbits, poolsize=1)
        return pubkey, privkey