Security Issues Associated With Error Correction And Privacy Amplification In Quantum Key Distribution