1 - The private and public keys is a way to secure your data, is use for encrypt messages and digital signatures, internally of the process is based in random numbers to generate a unique values, is most used to secure your data in case of a hacker wanna to get your information
2 - Encrypt data and digital signatures