rsa - python 公钥解密时报错 block type is not 01
PHPz
PHPz 2017-04-17 13:12:44
0
1
829
   pem_file = os.path.abspath(os.path.join(os.path.dirname(__file__), 'pprsa.pem'))
   g_rsa_foo = RSA.load_pub_key(pem_file)
   ctxt = g_rsa_foo.public_decrypt(sign, RSA.pkcs1_padding)  #在此句报错

这个问题真不懂, 搜了stackoverflow也好像没有找到答案。 求高手

PHPz
PHPz

学习是最好的投资!

reply all(1)
大家讲道理

I also encountered this problem, has the poster solved it?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!