Implementing SSL/TLS Using Cryptography and KPI