Xceed Encryption Library Documentation
Digital envelope
Glossary topics > Digital envelope

A digital envelope allows you to encrypt data with the speed of secret-key encryption and the convenience and security of public-key encryption. With a digital envelope, there is no need to communicate via plain text the Secret Key required to decrypt the data.

You can create a digital envelope by:

You can decrypt a digital envelope by:

The popular PGP encryption algorithm is a form of digital envelope. It traditionally uses the Deflate compression algorithm to compress the plain text, then it uses Triple-DES, IDEA or CAST5 to encrypt the plain text and it uses ElGamal or RSA to encrypt the Secret Key.

The Xceed Encryption Library provides everything you need to create and decrypt digital envelopes.