AES encryption on large files

后端 未结 3 810
情深已故
情深已故 2020-12-05 05:56

I need to encrypt and decrypt large file (~1GB). I tried using this example: http://www.codeproject.com/Articles/769741/Csharp-AES-bits-Encryption-Library-with-Salt But my p

3条回答
  •  眼角桃花
    2020-12-05 06:18

    Since you are reading from a file and writing to a file just replace the memory streams by IOStream or FileStream.

    You'll have to refactor the procedures a bit so they don't expect/return byte arrays.

提交回复
热议问题