def encipher_kid_rsa(msg, key):
 (n, e) = key
 return ((msg * e) % n)

def encipher_kid_rsa ( msg , key ) : ( n , e ) = key return ( ( msg * e ) % n )
here msg is the plaintext and key is the public key .