Xceed Encryption Library Documentation
Getting Started Quickly / Encrypting and decrypting from file to memory
In This Topic
    Encrypting and decrypting from file to memory
    In This Topic

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

    To encrypt data with Rijndael or Twofish from file to memory 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 file to memory using RSA

    To encrypt data with RSA from file to memory 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 from file to memory, while processing the source file's data in smaller portions, perform the following 6 steps. Put the Xceed Encryption Control on a form or instantiate it, then: