Weak implementation of cryptographic data protection allows various types of attacks and enables attackers to identify the key in captured traffic