Python Code identical as jcryption to encrypt data [closed]

jquery.jcryption is a library used to encrypt and decrpyt the data with the help of public key and private key in json format and the encrypted string comes out as a hex format..
Can someone write a code in python that works identical as jcryption