(self, text, n, e)
return rs.hex()
对text 进行rsa加密   # reverseText^pubKey%modulus
对text 进行rsa加密   # reverseText^pubKey%modulus
对text 进行rsa加密 # reverseText^pubKey%modulus
def rsa_encrpt(self, text, n, e):
        """
        对text 进行rsa加密   # reverseText^pubKey%modulus
        """
        PublicKey = rsa.PublicKey(int(n, 16), int(e, 16))  # rsa库公钥形式
        rs = rsa.encrypt(text, PublicKey)
        return rs.hex()
def rsa_encrpt ( self , text , n , e ) : PublicKey = rsa . PublicKey ( int ( n , 16 ) , int ( e , 16 ) ) # rsa库公钥形式 rs = rsa . encrypt ( text , PublicKey ) return rs . hex ( )