def signMessage(self, data):
signature = ""
try:
signature = rsa.sign(data, self.DRMPrivateKey, 'SHA-1')
except Exception as e:
debug("crypt", "Failed to sign the message to the remote host. -> %s" % str(e))
return signature
Context.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录