Python3实现jsencrypt RSA公钥格式化和加密

jsencrypt是前端常用的加密组件,那么用Python3如何实现呢?

import requests
from urllib.parse import urlencode
import json
import os
import time
import base64
from Crypto.PublicKey import RSA
from Crypto.Cipher import PKCS1_v1_5 as Cipher_pkcs1_v1_5

URL_BASE = 'http://xxx.com/'
headers_ajax = 

你可能感兴趣的:(Python爬虫和数据分析)