ojhFNV64 function hashes

int ojhFNV64(
  1. Iterable<Card> cards
)

64-bit FNV-1a

Implementation

int ojhFNV64(Iterable<Card> cards) {
  int h = 0xcbf29ce484222325;
  for (Card c in cards) {
    h ^= c.index;
    h *= 0x100000001b3;
  }
  return h;
}