int xxHash(Uint8List b) { if (b.isEmpty) return -1; final digest = xxHash64.convert(b); return digest.x.toInt(); }