In cryptography, signcryption is a public-key primitive that simultaneously performs the functions of both digital signature and encryption.