The Amazingly Forgotten 2-Way .net Rijndael CryptoStream

CryptoStream , Rijndael , 2Way , Flush , FlushFinalBlock , Encryption , Decryption , Padding Cairo, Egypt
  • 11 years ago
    Some say you can .Flush(), some say you can .FlushFinalBlock, some say you can only use it in one-way communication mode. But they are all wrong. The .Write function never needs flushing, and .FlushFinalBlock can only called ONLY when you will immediately close the stream. They are all wrong. The only way to do 2-way communication with CryptoStream is here... [Link Text](http://www.codeproject.com/KB/IP/2WRCS.aspx )
    
  • 11 years ago

    Some say you can .Flush(), some say you can .FlushFinalBlock, some say you can only use it in one-way communication mode. But they are all wrong. The .Write function never needs flushing, and .FlushFinalBlock can only called ONLY when you will immediately close the stream. They are all wrong. The only way to do 2-way communication with CryptoStream is here... Link Text

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“God could create the world in six days because he didn't have to make it compatible with the previous version.”