code: def bin_hash160Bytes(bts):
      
      intermed = hashlib.sha256(bts).digest()
      return hashlib.new('ripemd160', intermed).digest()
docs: Get a hash of the provided message using the ripemd160 algorithm.
  
      Args:
          bts (str): message to hash.
  
      Returns:
          bytes: hash.