Xceed Encryption Library Documentation
Encrypting and decrypting entirely in memory
Getting Started Quickly > Encrypting and decrypting entirely in memory

Contents

You can freely replace the word "encrypt" with "decrypt" to find out how to decrypt data because encrypting and decrypting work exactly the same way.

Basic (non-streaming) encryption from memory using Rijndael or Twofish

To encrypt data with Rijndael or Twofish entirely in memory, from one memory buffer to another in a single pass, perform the following 5 steps. Put the Xceed Encryption control on a form or instantiate it, then:

Basic (non-streaming) public-key encryption from memory using RSA

To encrypt data with RSA entirely in memory, from one memory buffer to another in a single pass, perform the following 5 steps. Put the Xceed Encryption control on a form or instantiate it, then:

Streaming encryption with Rijndael or Twofish

To encrypt data using Rijndael or Twofish entirely in memory while providing the library with data to encrypt as it becomes available, perform the following 6 steps. Put the Xceed Encryption Control on a form or instantiate it, then: