Descriptor hash method