Deep understanding of encryption, decryption, digital signatures and digital certificates