def rsa_encrypt(text, pubKey, modulus):
    text = text[::-1]
    rs = int(text.encode('hex'), 16) ** int(pubKey, 16) % int(modulus, 16)
    return format(rs, 'x').zfill(256)
dataset/ETHPy150Open sk1418/zhuaxia/zhuaxia/util.py/rsa_encrypt/original