Custom hash functions for assets