Searched refs:hashFunction (Results 1 – 2 of 2) sorted by relevance
59 public MacAddress calculatePersistentMac(String key, Mac hashFunction) { in calculatePersistentMac() argument60 if (key == null || hashFunction == null) { in calculatePersistentMac()65 hashedBytes = hashFunction.doFinal(key.getBytes(StandardCharsets.UTF_8)); in calculatePersistentMac()
71 HashFunction hashFunction = Hashing.sha512(); in calibrateMethod() local91 HashCode code1 = hashFunction.hashBytes(buffer); in calibrateMethod()93 HashCode code2 = hashFunction.hashBytes(buffer); in calibrateMethod()