Search engine based on hash generation