you could avoid hashValGenerate() being separate from hashValGenKey() by instead calling `hashValGenerate(bKey[i*4:i*4+4])` here