有没有已知的方法在Google App Engine Python SDK上使用RSA私钥签署纯文本字符串?
The library tlslite included in the gdata python library is a good option.
http://code.google.com/p/gdata-python-client/
example:
from tlslite.utils import keyfactory
private_key = keyfactory.parsePrivateKey(rsa_key)
signed = private_key.hashAndSign(data)
I haven't used it, but this appears to be a pure-Python RSA implementation, so it might work on App Engine:
Their Mercurial repo appears to be fairly active, too.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.