Searched refs:sign_hash (Results 1 – 4 of 4) sorted by relevance
/external/python/rsa/tests/ |
D | test_pkcs1.py | 120 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__.py | 28 VerificationError, find_signature_hash, sign_hash, compute_hash
|
D | pkcs1.py | 250 def sign_hash(hash_value, priv_key, hash_method): function 303 return sign_hash(msg_hash, priv_key, hash_method)
|
/external/python/rsa/doc/ |
D | usage.rst | 183 function and then use the :py:func:`rsa.sign_hash` function to sign the hash: 187 >>> signature = rsa.sign_hash(hash, privkey, 'SHA-1')
|