>  Q&A  >  본문

rsa - python 公钥解密时报错 block type is not 01

   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也好像没有找到答案。 求高手

PHPzPHPz2742일 전832

모든 응답(1)나는 대답할 것이다

  • 大家讲道理

    大家讲道理2017-04-17 13:14:44

    我也遇到这个问题,楼主解决了吗?

    회신하다
    0
  • 취소회신하다