Home
last modified time | relevance | path

Searched refs:sign_hash (Results 1 – 4 of 4) sorted by relevance

/external/python/rsa/tests/
Dtest_pkcs1.py120 signature1 = pkcs1.sign_hash(msg_hash, self.priv, 'SHA-256')
132 signature = pkcs1.sign_hash(msg_hash, self.priv, 'SHA-224')
/external/python/rsa/rsa/
D__init__.py28 VerificationError, find_signature_hash, sign_hash, compute_hash
Dpkcs1.py250 def sign_hash(hash_value, priv_key, hash_method): function
303 return sign_hash(msg_hash, priv_key, hash_method)
/external/python/rsa/doc/
Dusage.rst183 function and then use the :py:func:`rsa.sign_hash` function to sign the hash:
187 >>> signature = rsa.sign_hash(hash, privkey, 'SHA-1')