The Amazingly Forgotten 2-Way .net Rijndael CryptoStream

CryptoStream , Rijndael , 2Way , Flush , FlushFinalBlock , Encryption , Decryption , Padding Cairo, Egypt
  • 9 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 )
    
  • 9 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.

“Beware of bugs in the above code; I have only proved it correct, not tried it.” - Donald Knuth