def rsa_decrypt(data, rsa_priv_key_str):
 key = RSA.importKey(rsa_priv_key_str)
 cipher = PKCS1_OAEP.new(key)
 return cipher.decrypt(data)

def rsa_decrypt ( data , rsa_priv_key_str ) : key = RSA . importKey ( rsa_priv_key_str ) cipher = PKCS1_OAEP . new ( key ) return cipher . decrypt ( data )
when given some data and an rsa private key .