Encrypt / decrypt stream of data?
What are the best way开发者_JS百科 to encrypt and decrypt stream of data ?
I would like that my program read a file.. and unencrypt it in memory then when it save it.. it encrpyt the stream and save it.
Dunno if its possible but i would like to do something similar.
Thanks!
You can choose from one of the encryption algorithm implementations in the System.Security.Cryptography namespace, the documentation for individual algorithms (e.g. the Rijndael crypto provider) includes code examples for encrypting and decrypting streams of data.
精彩评论