preprocessed hashing functionality in serial