Add calculation of close-tangibles
This commit is contained in:
@@ -298,6 +298,11 @@ void SpookyHash::Hash128(
|
||||
uint64_t *hash1,
|
||||
uint64_t *hash2)
|
||||
{
|
||||
if ((*hash1 == 0) && (*hash2 == 0)) {
|
||||
*hash1 = 0x9438478934792837;
|
||||
*hash2 = 0x8347848738748378;
|
||||
}
|
||||
|
||||
if (length < sc_bufSize)
|
||||
{
|
||||
Short(message, length, hash1, hash2);
|
||||
|
||||
Reference in New Issue
Block a user