Quantum key distribution with hacking countermeasures and long term field trial