Xceed Encryption Library Documentation
Encrypting and decrypting from memory to file
Getting Started Quickly > Encrypting and decrypting from memory to file

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 to file using Rijndael or Twofish

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

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

To encrypt data with RSA from memory to file in a single pass, perform the following 4 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 from memory to file in a streaming fashion, perform the following 5 steps. Put the Xceed Encryption Control on a form or instantiate it, then: