System.IO.Stream extension methods

Encrypt<Algorithm>(byte[] key, byte[] iv = null)

Summary: Returns a read-only Encrypted stream from the original stream using the specified Algorithm.

Decrypt<Algorithm>(byte[] key, byte[] iv = null)

Summary: Returns a read-only Decrypted stream from the original stream using the specified Algorithm.

ToByteArray()

Summary: Returns a Byte-Array containing the contents of the Stream.

ToMD5Hash()

Summary: Returns an MD5 Hash from the Stream.

Last edited Feb 25, 2012 at 2:56 AM by crpietschmann, version 1

Comments

No comments yet.