0
public key cryptography private key cryptography
No, Public key cryptography is safer than Private key Cryptography. In public key cryptography only only one part of key is visible to others.
There are 2 types of cryptography such as:
1- Symmetric-key or Secret key Cryptography 2- Asymmetric-key or Public key Cryptography
Public key cryptography is also known as assymteric key cryptography. It uses RSA algorithm ans is mainly for authentication.