Asymmetric cryptosystems such as public key cryptosystems and multiple-key public key cryptosystems that use public keys for encryption of plaintext messages (or digital signatures) and private keys for decryption of resulting ciphertext messages, are another type of key-based algorithm.