2
你好,我试图运行这个简单的代码来生成私钥认可得到这个错误:“exportKey”功能不pycrypto-2.6.1(蟒蛇2.7.6)ubuntu14.04 LTS
Traceback (most recent call last):
File "erase-this.py", line 5, in <module>
f.write(RSA.exportKey('PEM'))
AttributeError: 'module' object has no attribute 'exportKey'
我里面/pycrypto-2.6.1/lib/Crypto/PublicKey检查,功能
def exportKey(self, format='PEM', passphrase=None, pkcs=1):
存在内部RS A.py.
是否有人知道我为什么会得到错误:
AttributeError: 'module' object has no attribute 'exportKey'???
它的工作原理!谢谢 – jjf 2015-02-12 02:14:20