def encrypt(message, key):
    
    return chopstring(message, key['e'], key['n'], encrypt_int)
Encrypts a string 'message' with the public key 'key'
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/rsa/_version133.py/encrypt