Add compressor hashing method