【发布时间】:2010-05-11 18:53:40
【问题描述】:
有没有办法在 Google App Engine (Python) 中使用 PEM 格式的私钥对值进行签名?
例如在 PHP 中可以这样实现:
$key = openssl_pkey_get_private($privateKey);
openssl_sign($strToBeSigned, $signature, $key);
echo "signature: ".base64_encode($signature);
有没有办法在 Google App Engine 中使用 Python 做同样的事情?
【问题讨论】:
标签: python google-app-engine cryptography openssl