const bin_digest_len: comptime_int = 16;

This is 128 bits - Even with 2^54 cache entries, the probably of a collision would be under 10^-6