Constants.defaultHashAlgorithm simplified