Re: how to decrypt encrypted text to a clear text

2017-06-07 Thread blue
Test again your chain programming way , because : >>> dir(RSA.importKey) ['__call__', '__class__', '__cmp__', '__delattr__', '__doc__', '__format__', '__func__', '__get__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__',

how to decrypt encrypted text to a clear text

2017-06-06 Thread Ho Yeung Lee
i use wb to write pubic and private key and succeed to import private, but after decrypt, it return hex number not a clear text is there any more key needed? or do wb influence the result? from Crypto.PublicKey import RSA keypair = RSA.generate(2048) alice_privkey = keypair.exportKey('PEM',