I don't know how to use CryptoStream class with Streamwriter and Streamreader
-
Hai to all, I want to create a simple TCP based network application, where client and server communicates with encryption. I tried to use streamwriter ans streamreader classes for non- encrypted application. I don't know how to use CryptoStream with the above streamwriter ans streamreader classes. Early response is encouraged.
-
Hai to all, I want to create a simple TCP based network application, where client and server communicates with encryption. I tried to use streamwriter ans streamreader classes for non- encrypted application. I don't know how to use CryptoStream with the above streamwriter ans streamreader classes. Early response is encouraged.
My article on YEnc encoding[^] has a sample of this. Just scroll down to the 2 highlighted pieces of code. You can substitute any encoder (implementation of ICryptoTransform), instead of my YEnc one.