开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜