AP Computer Science Principles
In cryptography, a public key is part of an asymmetric cryptographic system used for encrypting data. It can be freely shared with others without compromising security since it cannot be used alone to decrypt the encrypted data.