开发者

sha1WithRSAEncryption in Python

Can someone recommend a library for calculating SHA1WithRSAEncryption in Python?

Context: I'm trying to do some message authentication. I've looked at PyXMLDSig, but it seemed to expect the certificates as separate files. As a first step to better understanding the problem space, I wanted to calculate the digest values "by hand".

I've looked around and seen Java implementati开发者_如何转开发ons, but not Python ones. (Jython isn't really an option for my environment.)

Thanks in advance.


Take a look at M2Crypto, it's probably the best and most complete crypto library for Python.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜