@property
def identifier(self):
    " Returns the identifier for the key.\n\n        A key's identifier and fingerprint are defined as:\n        https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#key-identifiers\n\n        In this case, it will return the RIPEMD-160 hash of the\n        corresponding public key.\n\n        Returns:\n            bytes: A 20-byte RIPEMD-160 hash.\n        "
    return self.public_key.hash160()
Returns the identifier for the key.

A key's identifier and fingerprint are defined as:
https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#key-identifiers

In this case, it will return the RIPEMD-160 hash of the
corresponding public key.

Returns:
    bytes: A 20-byte RIPEMD-160 hash.
@property
def identifier(self):
    " Returns the identifier for the key.\n\n        A key's identifier and fingerprint are defined as:\n        https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#key-identifiers\n\n        In this case, it will return the RIPEMD-160 hash of the\n        corresponding public key.\n\n        Returns:\n            bytes: A 20-byte RIPEMD-160 hash.\n        "
    return self.public_key.hash160()