refactor mix([]uint64) -> mix([]byte) and cleanup