parameters: (self, msg_hash)
return_statement: return (msg_hash.oid == "1.3.14.3.2.26" or
                  msg_hash.oid.startswith("2.16.840.1.101.3.4.2."))
docstring: Verify that SHA-1, SHA-2 or SHA-3 are used
docstring_summary: Verify that SHA-1, SHA-2 or SHA-3 are used
docstring_tokens: Verify that SHA - 1 SHA - 2 or SHA - 3 are used
function: def _valid_hash(self, msg_hash):
          """Verify that SHA-1, SHA-2 or SHA-3 are used"""
          return (msg_hash.oid == "1.3.14.3.2.26" or
                  msg_hash.oid.startswith("2.16.840.1.101.3.4.2."))
function_tokens: def _valid_hash ( self , msg_hash ) : return ( msg_hash . oid == "1.3.14.3.2.26" or msg_hash . oid . startswith ( "2.16.840.1.101.3.4.2." ) )